Run this project:
yarn install
yarn start
# in another tab
yarn run webpack
After you see the webpack compilation succeed (the yarn run webpack
step), open up the nested html files in src/*
(no server needed!). Then modify whichever file in src
and refresh the page to see the changes.
For more elaborate ReasonReact examples, please see https://github.com/reasonml-community/reason-react-example