Server / Client Hybrid
This page fetches and uses feature flags server-side, then hydrates the client-side GrowthBook instance. This gives you maximum flexibility and performance.
These features were rendered server-side:
- feature1: OFF
- feature2: fallback
And these features are rendered client-side:
- feature1: OFF
- feature2: fallback
In this example app, feature flag definitions are cached for 60 seconds. For faster updates, you can configure an SDK Webhook in GrowthBook to hit the following route handler: POST /revalidate