Home > @uniformdev/context > TransitionDataStore > getClientTransitionState

TransitionDataStore.getClientTransitionState() method

When we load on the client side after a server side rendering has occurred (server to client transition), we can have a page script (ID: __UNIFORM_DATA__) that contains the computed visitor data from the SSR/edge render. This data is injected into the first render to allow score syncing and the server to request commands be applied to the client side data store.

Signature:

Returns:

ServerToClientTransitionState | undefined