I'm using the React SDK for LaunchDarkly and I need to initialize it just for certain environments. For example I need to skip LaunchDarkly initialization for localrun. Is there a way to do it?
This is the way I initialize it:
export default withLDProvider({
clientSideID: config.launchDarkly.envId',
options: {
streamUrl: `https://clientstream-${config.launchDarkly.domain}`,
baseUrl: `https://app-${config.launchDarkly.domain}`,
eventsUrl: `https://events-${config.launchDarkly.domain}`,
},
})(App);