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 (26 November 2016)
Stable release
5.28.2[1] Edit this on Wikidata /  ()
Repository
Written inJavaScript, TypeScript Edit this on Wikidata
PlatformWeb platform
TypeWeb framework
LicenseMIT License
WebsiteOfficial website Edit this at Wikidata

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.28.2. Retrieved 1 May 2025. {{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.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search