This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-next

@getenginex/sdk-next ​

EngineX Next.js adapter: re-exports everything from @getenginex/sdk-react (provider and hooks), so the app installs only this package, and brings nextCookieTokenStore (session in a cookie, also read on the server). The server side lives in @getenginex/sdk-next/server; the next.config helper, in @getenginex/sdk-next/config.

No 'use client' here on purpose: Next rejects export * in a 'use client' module, and the client boundary is already the @getenginex/sdk-react bundle, which starts with the directive. The nextCookieTokenStore is neither a component nor a hook: it runs on either side (outside the browser, it stores nothing).

Next ​

Other ​

EnginexProvider ​

Re-exports EnginexProvider


EnginexProviderProps ​

Re-exports EnginexProviderProps


RealtimeInvalidation ​

Re-exports RealtimeInvalidation


RealtimeSyncOptions ​

Re-exports RealtimeSyncOptions


RealtimeSyncTopic ​

Re-exports RealtimeSyncTopic


useEnginex ​

Re-exports useEnginex


useEnginexMutation ​

Re-exports useEnginexMutation


useEnginexMutations ​

Re-exports useEnginexMutations


useEnginexQueries ​

Re-exports useEnginexQueries


useEnginexQuery ​

Re-exports useEnginexQuery


useRealtime ​

Re-exports useRealtime


useRealtimeStatus ​

Re-exports useRealtimeStatus


useRealtimeSync ​

Re-exports useRealtimeSync


useSession ​

Re-exports useSession


useUserKey ​

Re-exports useUserKey