4 ms·
React Hooks reminds me a lot of spreadsheets. Change a dependency and everything needs to be recalculated that depends on it and so on.
by spullara 6y ago
React Hooks reminds me a lot of spreadsheets. Change a dependency and everything needs to be recalculated that depends on it and so on.
- jchrisa 6y agoI came here to say this. The whole thing reminds me of shouldComponentUpdate, and I wonder if immutable data structures could be another solution style, or if they turn out to just work like this at a lower level.
- raphlinus 6y agoYes, there's a very deep correspondence. My RustLab talk is about pretty much exactly this topic.
- thundergolfer 6y agoI'm not a frontend developer, but I think functional reactivity is also pretty core to how Svelte.js works[1]. https://svelte.dev/tutorial/reactive-statements https://svelte.dev/tutorial/reactive-statements