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
According to the Configuration documentation here: https://docs.launchdarkly.com/sdk/client-side/react/react-web#configure-the-sdk
there is an option to set a top-level property of "flags" to configure which flags should be subscribed to, as well as provide fallback values in case the LaunchDarkly API is unreachable. My guess is it would look something like this:
Please let me know if I am missing something here. Otherwise, that portion of the docs should be updated to state where to actually set fallback values.
The text was updated successfully, but these errors were encountered:
According to the Configuration documentation here:
https://docs.launchdarkly.com/sdk/client-side/react/react-web#configure-the-sdk
there is an option to set a top-level property of "flags" to configure which flags should be subscribed to, as well as provide fallback values in case the LaunchDarkly API is unreachable. My guess is it would look something like this:
However, the code inside your SDK here:
react-client-sdk/src/provider.tsx
Line 46 in f8a8965
...shows that the object to configure fallback values is actually located at "options.bootstrap". The correct setup would look something like this:
Please let me know if I am missing something here. Otherwise, that portion of the docs should be updated to state where to actually set fallback values.
The text was updated successfully, but these errors were encountered: