#4734Requested

Feature Request: Context-free option instead of SpacetimeDBProvider (vue, ts)

Requested on GitHub by Ole28
Energy Committed0TeV

I like to use pinia (vue) for global state management which lives outside the component tree.
Is it possible to add a option for the composables to pass the context explicitly?

I imagine it similar to this:
useTable(_explicit_context_here, tables.table_name);
This would not need to call useSpacetimeDB and just work with the provided context.

This will also work with most other frameworks.

  1. bfops added the feature-request label Apr 15, 2026

Boost this Request

Reopen this request?

The request will return to its prior live status.

Mark as Duplicate

Pick the request that Feature Request: Context-free option instead of SpacetimeDBProvider (vue, ts) is a duplicate of. Energy rolls up into that request and GitHub closes the linked issue as a duplicate with a timeline reference to the canonical.

Unmark Duplicate

Restore as an independent request. The linked GitHub issue will be reopened and its duplicate-of relationship cleared. The original timeline entries stay as history; the note below is posted as a follow-up comment.