3 ms·
Meteor+React is surprisingly good at what it does. I'd highly recommend this new project for Meteor+React+Webpack: https://github.com/thereactivestack/meteor-
by thesunny 11y ago
Meteor+React is surprisingly good at what it does.
I'd highly recommend this new project for Meteor+React+Webpack:
https://github.com/thereactivestack/meteor-webpack-react-kickstart https://github.com/thereactivestack/meteor-webpack-react-kic...
The only thing that I really disliked in Meteor was the reload/refresh for larger projects. This is typically a problem with anything Node related and refresh/reload times were around 10 seconds at its worst.
With the Webpack+React+Webpack, you get hot loading of only the module that has changed. Since much of the logic is on the client, your server code stays slim. Refresh times went from around 10 seconds to faster-than-I-can-notice.
Now if only there was a way to get hot module reloading working on the server...
- akbar501 11y agoAre you seeing 10 second rebuilds with incremental builds? Or is this 10 seconds for a complete rebuild?
- thesunny 11y agoThis was my worst case and I did get it down to around 5-6 seconds by removing some Meteor packages (Meteor Toys in particular added a lot to build times but I also removed Velocity testing). I believe they were incremental builds. Whatever happens by default when you make a change to a file.
- pinouchon 11y agoWith incremental builds. I have forked this project: https://github.com/wekan/wekan https://github.com/wekan/wekan (~ medium size). On a 2014 macbook pro, reloading after a change in a template takes 10s. Not a dealbreaker, but this is frustrating. And this is with meteor 1.2. The slow build times may be due to the wierd frontend preprocessors (jade and stylus), but still.
- mquandalle 11y agoWekan author here. On my computer hot reload takes roughly 5s [Thinkpad T440s, ubuntu, 12go of RAM]. I'm not sure if the jade and stylus compilers add some time in the case I only modify JavaScript files, but anyway I plan to migrate these two package to support the new compiler API. Still 5s is far from ideal considering the development experience with webpack and React hot loader.