|
|
|
|
|
by drdiablo
4149 days ago
|
|
I think you forgot something that is very important to React: your component is a pure function that takes props and states and that outputs UI. Being able to make the assumption that given the same props and state, you'll get the exact same UI (to the cursor position), is extremely powerful. As a programmer your brain can focus on other things and forget about side nasty effects. |
|
[1]https://github.com/Raynos/mercury