Skip to main content

Overview

Environment Variables

  • REACT_GLOBAL_STATE_DEBUG - Enables debug logging.

Components

Hooks

Objects

  • AsyncDataEnvelope - Plain JavaScript objects created in the global state by useAsyncData() and useAsyncCollection() hooks to hold loaded async data and related meta data.
  • GlobalState - An object that holds and manages the global state content.
  • SsrContext - An object that holds global-state-related data persistent across multiple SSR (server-side rendering) iterations.