3 ms·
In React your component is a class. The `render` function is a pure function, but the component itself is a state machine. This is why I prefer Mercury[1] [1]h
by Touche 12y ago
In React your component is a class. The `render` function is a pure function, but the component itself is a state machine. This is why I prefer Mercury[1]
[1]https://github.com/Raynos/mercury https://github.com/Raynos/mercury
- danabramov 12y agoAlso Cycle: https://github.com/staltz/cycle/ https://github.com/staltz/cycle/ I don't prefer them over React, but I agree they make this stuff easier. React Hot Loader is a hack after all ;-)