LaunchDarkly SDK for React - Example app
This is a simple SPA demonstrating
Running the example
Follow these steps to run the example app:
In app.js, set
clientSideIDto your own Client-side ID. You can find this in your ld portal under Account settings / Projects.
Create a flag called
dev-test-flagin your project. Make sure you make the flag available to the client-side SDK.
You should now be able to start the app by doing:
Toggle the killswitch for
dev-test-flagin the dashboard and the app should respond without a browser refresh.