2 ms·
> I think part of the genius of React is actually not using [signals] Except that with the introduction of hooks (aka "OCaml 5.0 effects, but in JS, as a UI fr
by svieira 3y ago
> I think part of the genius of React is actually not using [signals]
Except that with the introduction of hooks (aka "OCaml 5.0 effects, but in JS, as a UI framework") you get some of the same interesting issues cropping up in React codebases as well, just spelled differently (stale closures, implicit dependencies, weird debugging issues)
- nwienert 3y agoWell you get explicit dependencies which have ups and downs, but closures do become an issue. That said, I find hooks less magical and less prone to cycles, especially as you're staying with a top down data flow generally.