Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
README.md
package.json
webpack.config.client.js prepare 2.9.0 release (#131) Feb 2, 2019
webpack.config.server.js
yarn.lock

README.md

ldclient-react

This is a simple spa demonstrating ldclient-react.

Installation

yarn

Running the example

Follow these steps to run the example app:

  • In app.js, set clientSideID to your own Client-side ID. You can find this in your ld portal under Account settings / Projects.

  • Create a flag called dev-test-flag in 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:

    yarn start
  • Toggle the killswitch for dev-test-flag in the dashboard and the app should respond without a browser refresh.