dternyak / React-Redux-Flask

Boilerplate application for a Python/Flask JWT Backend and a Javascript/React/Redux Front-End with Material UI.
MIT License
1.51k stars 320 forks source link

Made top routes components classes again #6

Closed viatsko closed 8 years ago

viatsko commented 8 years ago

Otherwise hot-reload won't work https://github.com/gaearon/react-hot-loader/blob/master/docs/Troubleshooting.md#the-following-modules-couldnt-be-hot-updated-they-would-need-a-full-reload

viatsko commented 8 years ago

Sorry, I broke hot-reload by mistake :)

It seems like it's not yet fixed, so we cannot use stateless functions as top routes components.

Components inside top components are working fine.

dternyak commented 8 years ago

Ah, nice find. I didn't check that, I probably should have. I'll merge this too.

viatsko commented 8 years ago

Yeah, that's a nasty thing. 😢 I spent around 1 hour to investigate this while playing with another project.