Skip to content

@shtse8/fluxus v1.0.0


@shtse8/fluxus / react-adapter / useScope

Function: useScope()

useScope(): Scope

Defined in: react-adapter/context.ts:14

Hook to access the current Fluxus Scope from the context. Throws an error if used outside of a ProviderScope.

Returns

Scope

The current Fluxus Scope instance.

Released under the ISC License.