It would be nice if you add some explanation about the steps you took to set up this project and why.
I'm new to Reason would appreciate some comment about the choices you've made and what other alternatives you've considered.
Questions
I was trying to set up a full stack Reason app. When I looked at your example everything happens in the first commit and it's difficult for me to see the steps. I was wondering if this is roughly what you did to set up this project?
initialize a ReasonReact app
bsb -init my-react-app -theme react
ignore the JS files created in the build process
add *.bs.js to .gitignore file
create client and shared sub-directory
update the entry point of Webpack
add the subdirs to the bsconfig file
Thank you for your example!
Suggestions
Questions
I was trying to set up a full stack Reason app. When I looked at your example everything happens in the first commit and it's difficult for me to see the steps. I was wondering if this is roughly what you did to set up this project?
bsb -init my-react-app -theme react
*.bs.js
to .gitignore fileclient
andshared
sub-directory update the entry point of Webpack add the subdirs to the bsconfig fileyarn add reason-apollo
yarn add --dev graphql_ppx
yarn add react-apollo apollo-client apollo-cache-inmemory apollo-link apollo-link-context apollo-link-error apollo-link-http graphql graphql-tag
dune-project
,server/jbuild
,shared/jbuild