News for hackers. Stuff that matters.

anujkosambi

Awesome man!
Yes, I know that, but I think you have to use :global operator and combining it with parent scope class, which is extra steps in Svelte
May be, React itself go through lots of transitions like, class-components to functional to hooks. Svelte is in early stage, so I am sure there will be changes in svelte as well. And I don't care about performance that much because Browsers and devices always getting better. But Having said that, React's DOM thing always add constraints, like you can only use react supported ui-lib because everything should be in react's tree. Pure HTML and web-components library is very hard to handle with react.
Sure, I will, I know they out performed in benchmark but vue3 has web-component support?

After 7 Years of React.js Love,I tried Svelte and I have to admit Its Awesome

* Pros for svelte - No Virtual-DOM, so zero tension for immutability and no re-rendering chaos - Svelte inbuilt store is Awesome!, No need to add Redux every time and Svelte store and $ operator are also reactive so data change is good enough for re-rendering component - There is no hooks, so It is very easy to separate data layer from component. In react if there is business logic in Hooks...

( Read More... | 10 comments | 3 points | on HN )