3 ms·
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:
by dminik 2y ago
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.