Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.14 KB

CONTRIBUTING.md

File metadata and controls

72 lines (50 loc) · 1.14 KB

react-featureflow-client

Official React bindings for Featureflow Javascript Client

Get your Featureflow account at featureflow.io

Prerequisites

nvm use

Install

npm install

Test

npm test

Build

npm run build

Deploy

Update the version details and then:

npm publish
#or
./deploy_npm.sh

Example

There is a very simple example in this repository. Add your JS Client Environment SDK Key to example/src/index.js

const FF_KEY = 'sdk-js-env-yourkeyhere';

Start the library if you wish (this enables hot reload into the example)

 yarn start

Then start the example server

  cd example
  yarn start

Deploying

npm publish

License

Apache-2.0