What Is Svelte?
Svelte is a free and open-source front end JavaScript framework created by Rich Harris and maintained by Harris and other Svelte core team members. Svelte applications do not include framework references.
Well it's actually not a Framework but a compiler you can say. So in React to change the state you have to use something like Hooks or Class with state but in Svelte you don't have to do all those thing instead you can directly change the variable name set it to the new value and Svelte will automatically change the state for you in no time.
Now let's talk about Sapper, so Sapper is actually is framework which uses svelte and it has in built Routing in which you can find in the folder structure. In this you don't have to use any package like you do in React for eg. react-router-dom.
Have you ever used Spotify if yes then you will be happy to know that Spotify uses Svelte.
0 Comments
Don't Spam In Comments