2 ms·
Ah, interesting! My tldr of this is it'll be a transform of easy to read idiomatic react code using hooks etc into more performant code that avoids unnecessary
by davnicwil 3y ago
Ah, interesting!
My tldr of this is it'll be a transform of easy to read idiomatic react code using hooks etc into more performant code that avoids unnecessary rerenders by statically analysing where optimisations like memoisation can be injected without changing behavior.
Pretty smart stuff but also, yeah, perhaps a bit of a black hole of complexity. I can immediately imagine issues with debugging or somehow relying on the side effects of spurious rerenders and that breaking things in the real world.
You'd hope code like this does not exist in the wild... and yet exist it does :-)
- 0xblinq 3y agoAs I replied above, all is neat and great until you have to debug something not working as expected.