Home > @uniformdev/context-next
context-next package
Classes
Class | Description |
---|---|
NextCookieTransitionDataStore | Provides client-to-server score transition using cookies for Next.js SSR |
Functions
Function | Description |
---|---|
enableNextSsr(ctx, context) | <p>Enables request-data tracking during server-side rendering passes, and sending that data back up to the client.</p><p>This function must be called in a custom Next _document's <code>getInitialProps</code> function to work properly.</p> |
Type Aliases
Type Alias | Description |
---|---|
NextCookieTransitionDataStoreOptions | |
UniformAppProps | Type of <App> props if enableNextSsr() is setup in _document. |