Svelte

[!INFO]-
topic: πŸ–₯️ Tech
links:

source:

tags: #permanent-noteΒ #published

Last Modified: =dateformat(this.file.mtime, "MMM. dd, yyyy - HH:mm")


Svelte compiles your code at build time, creating fast native code in a small bundle size.

Svelte is a JavaScript framework to build user interfaces. It is different from other frameworks like React or Vue because it compiles the code at build time rather than at runtime., generating highly optimized code that runs faster and takes up less space.

Svelte works by converting the code written in its own syntax, known as Svelte components, into efficient JavaScript code that manipulates the DOM. It does this during the build process, which eliminates the need for a virtual DOM like in other frameworks.

One of the key advantages of Svelte is its small bundle size. Since it compiles the code upfront, only necessary code is included in the final bundle, resulting in smaller file sizes and faster load times.

Another benefit of Svelte is its simplicity and ease of use. The syntax is straightforward and easy to understand, making it accessible to both beginners and experienced developers.

Sveltes documentation and tutorials are excellent and approachable.

ProsCons
high performance, small bundlesizesmaller dev team & community
great documentation