'. '

Svelte

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(Weaknesses of Svelte)
Line 13: Line 13:
In the best tradition of learning about weaknesses, let's recommend an [https://medium.com/javascript-in-plain-english/why-svelte-wont-kill-react-3cfdd940586a article by a long time react user].
In the best tradition of learning about weaknesses, let's recommend an [https://medium.com/javascript-in-plain-english/why-svelte-wont-kill-react-3cfdd940586a article by a long time react user].
 +
Clearly the static analysis has its limit. To quote ''"...that brings some crazy patterns..."'':
 +
<source lang="javascript">
 +
const foo = obj.foo;
 +
foo.bar = 'baz';
 +
obj = obj; // If you don't do this, update will not happen
 +
</source>
[[Category:Video]]
[[Category:Video]]

Revision as of 05:42, 19 November 2020

React is dead. Long live Svelte! Svelte is new UI framework that uses observables like Knockout.js, but processes them at compile time generating efficient updates.

Weaknesses of React

The best way to learn about weaknesses of some product is to read/watch rants by competitors. Like in the following presentation:

I haven't yet seen more insults in thirty minutes talk (I could also make some when I was younger, but not as much).

Weaknesses of Svelte

In the best tradition of learning about weaknesses, let's recommend an article by a long time react user.

Clearly the static analysis has its limit. To quote "...that brings some crazy patterns...":

const foo = obj.foo;
foo.bar = 'baz';
obj = obj; // If you don't do this, update will not happen
Personal tools
buy