Closed viatsko closed 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.
Ah, nice find. I didn't check that, I probably should have. I'll merge this too.
Yeah, that's a nasty thing. 😢 I spent around 1 hour to investigate this while playing with another project.
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