Skip to content

Instantly share code, notes, and snippets.

@cezarneaga
Last active November 5, 2017 19:17
Show Gist options
  • Save cezarneaga/2f7782471a2be9e16381818392b29cbf to your computer and use it in GitHub Desktop.
Save cezarneaga/2f7782471a2be9e16381818392b29cbf to your computer and use it in GitHub Desktop.
setup checklist for ReasonReact

Check node and npm versions.

Ideally you should be on latest node v8.8 and npm 5.4.2.

If you use nvm make sure you are using the right version.

Initial setup

run npm install -g bs-platform

Editor setup

Use vscode

  • Install vscode-reasonml extension
  • Install reason-cli npm install -g https://github.com/reasonml/reason-cli/archive/beta-v-1.13.7-bin-darwin.tar.gz

ReasonReact setup

ideally use yarn

then run yarn create react-app my-app -- --scripts-version reason-scripts

if not, npm i -g create-react-app

and then run: create-react-app my-app -- --scripts-version reason-scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment