meteor-hmr icon indicating copy to clipboard operation
meteor-hmr copied to clipboard

FlowRouter example

Open markshust opened this issue 8 years ago • 4 comments

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

markshust avatar May 21 '16 12:05 markshust

@markoshust , perhaps this and this can help you. Also, this page give some very good instructions on how to use the new HMR.

kokjinsam avatar May 21 '16 16:05 kokjinsam

@markoshust, here is the page with examples https://github.com/gadicc/meteor-hmr/blob/master/docs/Boilerplates.md

priezz avatar May 22 '16 22:05 priezz

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.

gadicc avatar May 23 '16 11:05 gadicc

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.

gsabran avatar Jun 02 '16 16:06 gsabran