Skip to Content

SatelliteStoreContext

const SatelliteStoreContext: Context<SatelliteContextType>

Defined in: satellite-react/src/hooks/satelliteHook.ts:29 

React context that holds the store of SatelliteConnectProvider. Use useSatelliteConnectStore to read it in components; read the context directly to call getState() or subscribe without re-rendering.

The context object is created once and saved on globalThis (Symbol.for('tuwaio.satellite.context')), so packages that bundle their own copy of @tuwaio/satellite-react share the same context.

Last updated on