happy-hours / crushlines

Check out who is checking you out
4 stars 1 forks source link

Set up hot loader #15

Open heron2014 opened 8 years ago

heron2014 commented 8 years ago

As a developer I want to preserve state of my project when making changes

Official reference hot loader Jrans reference repo here

heron2014 commented 8 years ago

Steps to set up Hot Loader:

... module: ...

loader: ['react-hot', 'babel'] add: plugins: [ new webpack.Hot...()]

When we run it now , we will have an issue with multiple loaders - we need to split our loaders so query with preset to react will only require babel

Not finished

Good tutorial: http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html#react-and-react-hot-loader