News for hackers. Stuff that matters.
Re:Introduction to Svelte by gactleaks on Thursday August 15, 2019 @02:10PM (#20707964)
You’re welcome :)

There’s more discussion here:https://mobile.twitter.com/Shub7241/status/11570049077753241....

Re:Introduction to Svelte by hajile on Friday August 16, 2019 @09:53AM (#20715129)
When discussing structural changes, it seems like lifting constant fragments a compile time wasn't discussed. There's a Babel React optimizer to do exactly this. Lift those to their own functions. Since those functions don't take any props or state, their values are cached almost indefinitely.
Re:Introduction to Svelte by gactleaks on Saturday August 17, 2019 @02:57AM (#20722602)
A generalisation of that optimisation is discussed here: https://twitter.com/MateuszOkon/status/1159222281874366464