Home > @uniformdev/context-next

context-next package

Classes

ClassDescription
NextCookieTransitionDataStoreProvides client-to-server score transition using cookies for Next.js SSR

Functions

FunctionDescription
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 AliasDescription
NextCookieTransitionDataStoreOptions
UniformAppPropsType of <App> props if enableNextSsr() is setup in _document.