Configuration object used to initialise LaunchDarkly's JS client.
Your project and environment specific client side ID. You can find this in your LaunchDarkly portal under Account settings. This is the only mandatory property required to use the React SDK.
A LaunchDarkly context object. If unspecified, an anonymous context with kind: 'user' will be created and used.
If set to true, the ldClient will not be initialized until the context prop has been defined.
launchdarkly-react-client-sdk will only listen for changes to these flags.
Otherwise, all flags will be requested and listened to.
Flag keys must be in their original form as known to LaunchDarkly rather than in their camel-cased form.
Optionally, the ldClient can be initialised outside of the provider and passed in, instead of being initialised by the provider. Note: it should only be passed in when it has emitted the 'ready' event, to ensure that the flags are properly set.
Additional initialization options specific to the React SDK.
Generated using TypeDoc