Home > @uniformdev/context-next

context-next package

Classes

<table><thead><tr><th>

Class

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

NextCookieTransitionDataStore

</td><td>

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

</td></tr> </tbody></table>

Functions

<table><thead><tr><th>

Function

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

enableNextSsr(ctx, context)

</td><td>

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.

</td></tr> </tbody></table>

Type Aliases

<table><thead><tr><th>

Type Alias

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

NextCookieTransitionDataStoreOptions

</td><td>

</td></tr> <tr><td>

UniformAppProps

</td><td>

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

</td></tr> </tbody></table>