Svelte
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.
Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.
About
Svelte는 빠른 웹 어플리케이션을 구축하기 위한 도구이다.
Svelte는 interactive한 유저 인터페이스를 구축한다는 데 있어 React나 Vue와 같은 JavaScript 프레임워크, 라이브러리와 비슷하다.
그러나 매우 중요한 차이점이 있는데, Svelte는 우리의 앱을 실행 시점(Run time)에 해석하는 것이 아니라 빌드 시점(Build time)에 JavaScript로 변환한다. 이 말의 의미는 프레임워크 추상화를 위한 퍼포먼스에 더 이상 비용을 들이지 않아도 된다는 뜻이다. 그리고 앱의 첫 로드 시에도 빠른 구동이 가능하다.
전체 앱을 Svelte로 구축할 수도 있고, 이미 존재하는 코드 베이스에 점진적으로 적용할 수도 있다. 또한 전통적인 프레임워크와의 dependency와 상관없이 어디서든 사용할 수 있는 독립적인 컴포넌트로 만들어 사용할 수도 있다.
Categories
- Mac OS Monterey Web - macOS Monterey 의 UI를 웹에서 Svelte 프레임워크로 구현한 오픈소스. Svelte + Bundler + SCSS