You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The toolbar will automatically appear on `localhost`. However, it can also be incredibly useful in production. You have full control over when it appears through the `toolbar` configuration option passed to the ReflagProvider.
205
+
206
+
You can pass a simple boolean to force the toolbar to appear/disappear:
207
+
208
+
```ts
209
+
<ReflagProvider
210
+
...
211
+
// show the toolbar even in production if the user is an internal/admin user
212
+
toolbar={user?.isInternal}
213
+
...
214
+
});
215
+
```
216
+
198
217
## Server-side rendering and bootstrapping
199
218
200
219
For server-side rendered applications, you can eliminate the initial network request by bootstrapping the client with pre-fetched flag data using the `ReflagBootstrappedProvider`.
0 commit comments