Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LDReactOptions

Initialization options for the LaunchDarkly React SDK. These are in addition to the options exposed by [[LDOptions]] which are common to both the JavaScript and React SDKs.

Hierarchy

  • LDReactOptions

Index

Properties

Optional useCamelCaseFlagKeys

useCamelCaseFlagKeys: undefined | false | true

Whether the React SDK should transform flag keys into camel-cased format. Using camel-cased flag keys allow for easier use as prop values, however, these keys won't directly match the flag keys as known to LaunchDarkly. Consequently, flag key collisions may be possible and the Code References feature will not function properly.

This is true by default, meaning that keys will automatically be converted to camel-case.

For more information, see the React SDK Reference Guide on flag keys.

see

https://docs.launchdarkly.com/docs/react-sdk-reference#section-flag-keys

Generated using TypeDoc