gadicc / meteor-hmr

Hot Module Replacement for Meteor; in your app, with react, with build plugins
Other
142 stars 10 forks source link

FlowRouter example #91

Open markshust opened 8 years ago

markshust commented 8 years ago

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

kokjinsam commented 8 years ago

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

priezz commented 8 years ago

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

gadicc commented 8 years ago

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.

gsabran commented 8 years ago

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.