Echo JS 0.11.0


davidchase comments

davidchase 60 days ago. link 2 points
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?
davidchase 60 days ago. link 0 point
> 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
davidchase 86 days ago. link 1 point
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:
davidchase 95 days ago. link 1 point
Ok, but he then proceeds to discuss exactly how to handle errors in the next section.
davidchase 95 days ago. link 1 point
Care to elaborate some more? The author shows how to account for errors in scenarios where there are potential errors for example a network request, so im not sure where you see it being bad advice overall, care to clarify your point?
davidchase 155 days ago. link 1 point
whats the difference between this and something next.js?
davidchase 680 days ago. link 1 point
yes i agree the optimal one is probably something like yours minimal dependencies and a light footprint is usually best :)