Run the command below to get started:
Install all packages using yarn in the root directory.
- In
App.tsx, setSDK_KEYto the SDK Key for your environment. You can find this under Settings / Environments on the DevCycle dashboard. - Create a new feature on the dashboard. Update the
variableKeyinDevCycleExample.tsxto this value. - If you added user targeting to your feature, update the
user_idfield inApp.tsxbased on your targeting rules.
You can now start the app by running:
yarn nx serve example-react-with-providerOpen http://localhost:4200 to view it in the browser.