Javascript Examples
Examples can be found within the GitHub repository:
Next.js
- Server Side Rendering
- Using Next.js and "use client" to render an App with the StatsigClient.
- Proxying Network Calls
- Using your own Next.js api to respond to StatsigClient network calls.
React
- Auth Flow
- Transitioning from a unauthorized to an authorized state.
- Statsig ClientEvent Streaming
- Receiving callbacks for the various events that can happen within the StatsigClient.