Svelte is getting popular nowadays, as it provides a small bundle size. But svelte is not popular as compare to react as the jobs posting favor mostly react. Moreover, Gatsby and Next.js are built over React.
It is hard to pick between these two, what is your thought on that? Is it good for a personal project?
Oldest comments (30)
Svelte seems very easy and self contained. It seems to be created with the idea of lowering complexity and it compiles to code that doesn't require a runtime. Maybe that's enough to give it ago!
This might help:
Why SvelteJS may be the best framework for new web devs
Ben Holmes γ» Mar 19 '19 γ» 7 min read
I prefer svelte but use react for now.
riot.js.org
Svelte!
Yea without TypeScript support I wot be picking it up for anything other than hobby projects. Side note: since TS doesnβt lint html files itβs unclear when if ever it will support Svelte.
blog.scottlogic.com/2020/07/24/sve...
Personally, I prefer neither, but I guess I'm a bit old fashioned by 'modern' web developer standards (I don't use TypeScript either, and ironically have yet to deal with a bug in my code that would have been caught by TypeScript).
Honestly, my thoughts barring that perspective are:
Between Svelte and React, then Svelte.
But I actually use Nim instead anyway.
Nim, the system language? I'm tempted to learn it but how is it related to UI development?
Compiles to JS/WASM, is similar to Svelte. But Templates/Macros/Types β€οΈ
Cool, saw the Nim Website Creator project on your GH, looks pretty neat! One of the reasons that I want to learn Nim is that the compiler spits out C code, which sounds amazing for portability.
Svelte Docs has something hard to understand. No clear writing about dynamic pages in svelte. or create a blog page etc.
It has good performance and also small in size; but limited in docs. Gatsby and Next.js are built on react; it is easy to create blog and website. But in svelte, creating dynamic pages for blog post is quite difficult task.
Don't see any reason why I would need to switch from React to some other framework like Vue or Svetle
That makes me remember my grandmother when I changed her computer Windows 95 to Linux ... she asked: why ?
Svelte Docs is good; I mean the stuff like Graphql, typescript is the future improvement of svelte.