TrueCar / react-launch-darkly

Simple component helpers to support LaunchDarkly in your React app.
MIT License
76 stars 20 forks source link

Add example project. #16

Open michalchudziak opened 7 years ago

michalchudziak commented 7 years ago

We should include example project. Just a simple project to show implementation details.

sethbattin commented 7 years ago

I agree. Using this component is complicated by needing an account key in order for the external service to work correctly. But I would expect that anyone attempting to use the react component is willing to also use the service itself.

There's an example usage here: https://github.com/TrueCar/react-launch-darkly/pull/6. The config file setting launchDarkly.clientId is what would need to be replaced with a user's key. The example also references Helmet, which could be removed.