1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

Update website/docs/troubleshooting.mdx

Co-authored-by: Simon Hornby <simon@getunleash.io>
This commit is contained in:
Melinda Fekete 2025-07-11 13:13:30 +02:00 committed by GitHub
parent a20e28db88
commit 77b5e624c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ If a feature flag isn't being returned by the Frontend API or Edge, or if users
- Confirm that the feature flag has been **enabled** in the specific environment your client application is using. (ref: [enabling a feature flag](/reference/feature-toggles))
#### SDK `ready` event (frontend clients)
- Ensure your application, especially frontend clients, waits for the SDK to emit the `ready` event before calling `isEnabled('feature-flag')` or attempting to get variant information. Calling these functions too early might mean the client hasn't yet received the latest flag configurations from the server.
- Ensure your application, especially frontend clients, waits for the SDK to emit the `ready` event before calling `isEnabled('feature-flag')` or `getVariant('feature-flag')`. Calling these functions too early might mean the client hasn't yet received the latest flag configurations from the server.
### Token configuration