platform | install command |
---|---|
macOS | yarn global add reason-cli@latest-macos |
Linux | yarn global add reason-cli@latest-linux |
Windows | Please see reasonml/reasonml.github.io#195 |
Install it and run:
git clone https://github.com/mkhuda/re-react-razzle.git
cd re-react-razzle
yarn install
yarn start
Now you can go and edit src/App.re
. When you make changes, your browser and server will Hot Reload.
This is an example of how to use Reason React and Razzle together. Yes, you read that correctly. SSR, Reason, React, HMR.