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)

Enables request-data tracking during server-side rendering passes, and sending that data back up to the client.

This function must be called in a custom Next _document's getInitialProps function to work properly.

Type Aliases

Type Alias

Description

NextCookieTransitionDataStoreOptions

UniformAppProps

Type of props if enableNextSsr() is setup in _document.