UseApp

Function: useApp()

[object Object]

Defined in: app/context/AppContext.tsx:81

Custom hook to access the application context.

Provides a convenient way for functional components to consume global state. It includes a safety check to ensure that the hook is only used within an AppProvider hierarchy.

Returns

[object Object]

The current application context value.

Throws

If used outside of an AppProvider.

Example

const { member, setMember } = useApp();

On this page