Skip to content

Instantly share code, notes, and snippets.

@asaschachar
Last active February 19, 2020 18:31
Show Gist options
  • Save asaschachar/9608428415613a5462ff592c1f3bd94a to your computer and use it in GitHub Desktop.
Save asaschachar/9608428415613a5462ff592c1f3bd94a to your computer and use it in GitHub Desktop.

React Feature Flags

Set up your environment

  1. Open a Terminal window.
  2. Install Homebrew. Be sure to press Enter and put in your computer password when asked.
  3. Install Node by running the following in the terminal: brew install node
  4. Install Yarn by running the following in the terminal: brew install yarn
  5. Install Visual Studio Code as your text editor (instead of vi)
  6. Congrats! Your computer is now setup for coding in React. 💻
  7. Navigate to the Optimizely docs and follow along the video with the next set of instructions

Set up Optimizely

  1. Create a Free Rollouts Account. If you already have an account under your current work email, say asa@optimizelycom, signup for an account under asa+fullstack@optimizely.com to get a fresh start.
  2. Create a React Application
  3. Install Optimizely React SDK using Visual Studio Code as your text editor (instead of vi)
  4. Implement a feature
  5. Rollout the feature!
  6. Congrats, you've now used Optimizely 🎉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment