Skip to main content

Environment Variables

REACT_GLOBAL_STATE_DEBUG

The REACT_GLOBAL_STATE_DEBUG variable can be set to any truthy value in Node environment (or injected into the client-side bundle using the Webpack's EnvironmentPlugin) to enable debug logging by react-global-state library. In either case the logging is enabled for non-production code only, which is tested by process.env.NODE_ENV value being distinct from "production".