Does anyone know of any Hamani / React tutorials or repos in the wild?
Hello,
You can use this gem for integration hanami and webpack. If you want to see example of usage you can check this repo
Hereās some more ReactJS tutorials.
I think the topic is worth refreshing.
Iād like to use React in hanami app but not to build entire front-end, just use some components in views. Iām not sure how about hanami-webpackās gem maintenance and I think that maybe this can be achieved in better way. Iāve foud this article http://elixirator.com/blog/2017/using-hanami-with-webpack.html but unfortunatelly it requires more knowledge that I have to fully understand.
I read some webpack tutorials but not sure how to setup this with hanami. Maybe someone will be able to help me to build step-by-step tutorial of how to setup stuff to achieve these goals:
- still use hanamiās asset pipeline
- load React from npm and require it in javascripts.