Svelte is a tool for building fast web applications.
In this lesson we're going to learn what is Svelte and what's the difference between Svelte and other frameworks such as React or Vue.
Instructor: [0:00] Svelte is a tool for building fast web applications. In that regard, it's a bit similar to frameworks such React and Vue, which also share the same goal of building fast web interfaces.
[0:27] There's also going to be a CSS output if you're going to have any styles in our Svelte application. If I were to switch to a bit more complicated example, so this is a simple app that allows me to see my mouse position, and here we have the script object, here we have the styles, and this is the markup with the onMouseMove handle.
[0:53] We, as Svelte developers, don't have to optimize so much for performance because all this work is being done by the compiler. If we have any styles in our Svelte application, we're going to get the CSS output as well. We've pre-generated class names. We don't have to worry about that either.