meteor-hmr
meteor-hmr copied to clipboard
FlowRouter example
There's just a React Router example at https://github.com/gadicc/meteor-hmr/blob/master/docs/React_Hotloading.md
However, I'm using FlowRouter. Can an example me added for this? I had this module working 6-8 weeks ago, but looks like lot has changed, and I'm having a very hard time getting this setup as I don't have a working example with FlowRouter.
Cheers, Mark
@markoshust , perhaps this and this can help you. Also, this page give some very good instructions on how to use the new HMR.
@markoshust, here is the page with examples https://github.com/gadicc/meteor-hmr/blob/master/docs/Boilerplates.md
Thanks for helping out guys! I'll make this a bit clearer in the docs (by linking to those resources) as soon as I have a chance.
With using FlowRouterSSR, I was sharing client files with the server and that made it very hard to work with the HMR because as soon as I'd change a client file, the server would rebuild and would get stuck for a while since there is no HMR there. I realized I had to disable SSR in development. Might be worth mentioning it if you do a tutorial for FlowRouter.