Working through this blog post by Thomas Honeyman: https://thomashoneyman.com/articles/replace-react-components-with-purescript/.
-
Install dependencies with
$ yarn; yarn spago build
-
Make a symbolic link for PureScript output folder so Create React App webpack server can access it.
$ ln -s $PWD/output $PWD/src/output
-
Run the development server with
yarn start