Launchdarkly React Client Sdk
launchdarkly-react-client-sdk
LaunchDarkly SDK for React
Utilities
launchdarkly
launch
darkly
react
sdk
bindings
launchdarkly-react-client-sdk
Utilities
javascript
npm
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install launchdarkly-react-client-sdkCode example
import { useLaunchdarklyReactClientSdk } from "launchdarkly-react-client-sdk";
export function Example() {
const value = useLaunchdarklyReactClientSdk();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by LaunchDarkly
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- Apache-2.0 licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub