bananaoomarang / isomorphic-redux

Isomorphic Redux demo, with routing and async actions
https://medium.com/@bananaoomarang/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4
MIT License
455 stars 87 forks source link

Switch to webpack-hot-middleware and react-transform-hmr #21

Closed Dattaya closed 8 years ago

Dattaya commented 8 years ago

react-hot-loader is deprecated and everyone is switching to webpack-hot/dev-middleware so did I :) in my local repository–real life isomorphic project to be. If you wish, you can too. Everything seems to be working fine. I just don't know if it's correct way to write two consecutive PATH setting commands in Unix-like systems: NODE_ENV=production NODE_PATH=$NODE_PATH:./shared node --harmony . This also fixes #17. Sorry about that, I know it's a bad practice to fix several issues unrelated to the current pull request but I couldn't resist.