DEV Community

Cover image for Svelte: My thoughts πŸ€”
Abdur-Rahman
Abdur-Rahman

Posted on

Svelte: My thoughts πŸ€”

Welcome peeps to this week's article where I would be discussing Svelte, the new framework revving to hit the moon with their objectives, objectives I believe is achievable.

As sourced from the official site, Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.
Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.

I played with Svelte and pretty much enjoyed it for a side-project. It's quick, doesn't utilize V-Dom and has an easy syntax. Sveltekit is a svelte framework, a solid one. I don't know much about it since I haven't played with it myself but I do know that it is efficient and Next.js better watch out.

Is Svelte better than Remix? No in my opinion. Svemix is an unofficial thing though, Svelte + Remix. In my opinion, it is quite inefficient. Use what works best for you though, if Angular appeals to you and delivers, use it. Don't sway for other opinions though, not worth swaying for them.

Final thought on Svelte, interesting framework with a unique approach compared to React. I am excited for it's future and would keep on using it for small side-projects and playing with it. I think you React devs out there ought to give it a try, a small chance. Might be worth it. See you next time πŸ‘‹

Top comments (3)

Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ • Edited

RiotJS was doing very similar things years before Svelte even existed. It's hardly a 'radical new approach '.

Riot is now on V6, and is a joy to work with. I suggest checking it out

Collapse
 
shafspecs profile image
Abdur-Rahman

Looks cool. At first glance, I can see some similarities with Svelte. Playing with it should be fun

Collapse
 
shafspecs profile image
Abdur-Rahman

Agree. It's simple and quite efficient, I πŸ’― agree. Try Remix in the meantime 😌, jk