3 ms·
I learned about Crank today: https://crank.js.org/blog/introducing-crank https://crank.js.org/blog/introducing-crank Crank itself is interesting, but what's r
by twic 7y ago
I learned about Crank today:
https://crank.js.org/blog/introducing-crank https://crank.js.org/blog/introducing-crank
Crank itself is interesting, but what's relevant here is the broader critique of React there.
- wk_end 7y agoThis is really compelling - thanks for linking it. Is there a downside here? Has React responded at all? I don’t hate hooks, but using async + generators like this looks so obviously better and more intuitive here; like such a clearly great, simple idea that I’m embarrassed I didn’t ever think of it myself.
- aero142 7y agoThere was a lot of discussion in the Crank thread. Essentially, concurrent mode is the primary goal. https://news.ycombinator.com/item?id=22903967 https://news.ycombinator.com/item?id=22903967