haha i get the point... but it would have been better demonstrated with an actually todo/hackernews etc app not something like hello world because then it seems like an actual app would still be rather large even with a compiler compared to Svelte etc.. you feel better now?
> There is a demonstration site up of Ivy’s huge potential. >
> Although it’s the simplest possible example, the bundle size is about 3.2 KB!
What? two links and hello world and it costs me 3.2KB in JS how is that good? blat i dont need JS in that page
pretty much, from Andrew Clark:
Here's how suspending works:
- in the render method, read a value from the cache.
- if the value is already cached, the render continues like normal
- if the value is not already cached, the cache *throws a promise*
- when the promise resolves, React retries where it left off
the feed:
https://twitter.com/acdlite/status/969171217356746752