Svelte is everything a developer could ever want for flexible, scalable frontend development. I feel like React has reached a maturity level where there needs to be new syntactic sugar added (I’m looking at you, hooks!). I love how Svelte sets out to rebuild a new language to write interfaces in from the ground up.
Alternate intro text:
Svelte with its easy of development and remarkable performance is one of the strongest contender for other UI frameworks like Angular, React, Vue etc.
Have written a post to create a simple CRUD app to get started with Svelte.
Task breakdown
- Read nextjs docs
- Create Svelte header component
- Create store in lib folder for api call with derived store.
- Create contact component in svelte which takes contact info and displays it, keep it presentational component
- Add scss support in svelte
- which SSR rendering engine do svelte and react use. Nextjs seems to do SSR by itself, it was built by Vercel team.
- Svelte is a compiler
- Well, Svelte does provide noticeable improvements in certain features when compared to React. But it may not still be significant or large enough to replace React completely. React is still robust and broadly adopted. Svelte has quite some catching up to do. But concept-wise, the compiling approach taken by Svelte has proven that virtual DOM diffing isn’t the only approach to build fast reactive applications, and a good enough compiler can get the same job done as good as it gets.