News for hackers. Stuff that matters.
Re:You can now write React in Lua by dminik on Monday June 24, 2024 @02:57PM (#40779456)
Svelte will work here the same way that React does. If a component/element isn't mounted it will not render or update.

Where Svelte has an advantage is that:

1. A lot of stuff is built in, but extendable/replaceable. Styling, animations, basic state management, ...

2. It's update model makes it easier to use vanilla libraries without the need for any react-x wrappers.

3. The update model is also easier to use in general. The amount of stale closures and referential equality issues I have to fight every time I do something in react is insane.

There are no comments on this comment yet.