Svelte

Svelte
Original author(s)Rich Harris
Developer(s)The Svelte contributors. Key contributors include Rich Harris, Alan Faubert, Tan Li Hau, Ben McCann, and Simon Holthausen
Initial release26 November 2016; 7 years ago (26 November 2016)
Stable release
5.0.0[1] Edit this on Wikidata / 19 October 2024; 19 days ago (19 October 2024)
Repositorygithub.com/sveltejs/svelte
Written inJavaScript, TypeScript
PlatformWeb platform
TypeWeb framework
LicenseMIT License
Websitehttps://svelte.dev/

Svelte is a free and open-source component-based front-end software framework,[2] and language[3] created by Rich Harris and maintained by the Svelte core team members.[4]

Svelte is not a monolithic JavaScript library imported by applications: instead, Svelte compiles HTML templates to specialized code that manipulates the DOM directly, which may reduce the size of transferred files and give better client performance.[5] Application code is also processed by the compiler, inserting calls to automatically recompute data[2] and re-render UI elements when the data they depend on is modified.[6] This also avoids the overhead associated with runtime intermediate representations, such as virtual DOM,[7] unlike traditional frameworks (such as React and Vue) which carry out the bulk of their work at runtime, i.e. in the browser.[5][6][4][8][2][7]

The compiler itself is written in JavaScript.[9][8] Its source code is licensed under MIT License and hosted on GitHub.[8] Among comparable frontend libraries, Svelte has one of the smallest bundle footprints at merely 2KB.[10]

  1. ^ https://github.com/sveltejs/svelte/releases/tag/svelte%405.0.0. Retrieved 23 October 2024. {{cite web}}: Missing or empty |title= (help)
  2. ^ a b c Rich Harris (2019-04-22). "Svelte 3: Rethinking reactivity". svelte.dev. Retrieved 2021-08-07.
  3. ^ Harris, Rich (2018-11-26). "The truth about Svelte". GitHub Gist. Retrieved 2022-12-21.
  4. ^ a b Krill, Paul (December 2, 2016). "Slim, speedy Svelte framework puts JavaScript on a diet". InfoWorld.
  5. ^ a b "React vs. Svelte, the JavaScript build-time framework". react-etc.net.
  6. ^ a b "Svelte 3 Front-End Framework Moves Reactivity into the JavaScript Language, Q&A with Rich Harris". InfoQ.
  7. ^ a b Rich Harris (2018-12-27). "Virtual DOM is pure overhead". svelte.dev.
  8. ^ a b c "GitHub - sveltejs/svelte: Cybernetically enhanced web apps". January 11, 2020 – via GitHub.
  9. ^ "TS to JSDoc Conversion #8569". GitHub.com.
  10. ^ Frontendeng.dev (2023-08-01). "Svelte vs React: Which framework is better ?". frontendeng.dev.