관련 자료


Svelte • Cybernetically enhanced web apps

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 tec



Cybernetically enhanced web apps. Contribute to sveltejs/svelte development by creating an account on GitHub.


Introduction / Basics • Svelte Tutorial

Introduction / Basics a. Basicsb. Adding datac. Dynamic attributesd. Stylinge. Nested componentsf. HTML tagsg. Making an app a. Assignmentsb. Declarationsc. Statementsd. Updating arrays and objects a. Declaring propsb. Default valuesc. Spread props a. If b


Virtual DOM을 사용하지 않고 더 적은 코드로(Vuejs, React 대비) 개발을 할 수 있는 svelte다.

[그림1] svelte 예제 화면


'Javascript' 카테고리의 다른 글

Buefy UI Framewrk - Vuejs  (0) 2021.06.26
Quasar UI Framewrk - Vuejs  (0) 2021.02.19
[Javascript] ag-grid  (0) 2019.10.20
BootboxJS — Bootstrap의 모달을 쉽게 컨트롤 하자  (0) 2019.05.27
Mobx - Simple, scalable state management  (0) 2019.05.11

preactjs - react의 subset, simple, lightweight library

Fast 3kB alternative to React with the same modern API

관련 자료


Preact: Fast 3kB alternative to React with the same modern API. Components & Virtual DOM.



⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. - developit/preact


Slant - React vs Preact detailed comparison as of 2019

Comparison of React vs Preact detailed comparison as of 2019 and their Pros/Cons




A different kind of library.

Closer to the Metal

Preact provides the thinnest possible Virtual DOM abstraction on top of the DOM. The web is a stable platform, it's time we stopped reimplementing it in the name of safety.

Preact is also a first-class citizen of the web platform. It diffs Virtual DOM against the DOM itself, registers real event handlers, and plays nicely with other libraries.

Small Size

Most UI frameworks are large enough to be the majority of an app's JavaScript size. Preact is different: it's small enough that your code is the largest part of your application.

That means less JavaScript to download, parse and execute - leaving more time for your code, so you can build an experience you define without fighting to keep a framework under control.

Big Performance

Preact is fast, and not just because of its size. It's one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.

It even includes extra performance features like customizable update batching, optional async rendering, DOM recycling, and optimized event handling via Linked State.

Portable & Embeddable

Preact's tiny footprint means you can take the powerful Virtual DOM Component paradigm to new places it couldn't otherwise go.

Use Preact to build parts of an app without complex integration. Embed Preact into a widget and apply the same tools and techniques that you would to build a full app.

Instantly Productive

Lightweight is a lot more fun when you don't have to sacrifice productivity to get there. Preact gets you productive right away. It even has a few bonus features:

  • props, state and context are passed to render()
  • Use standard HTML attributes like class and for
  • Works with React DevTools right out of the box

Ecosystem Compatible

Virtual DOM Components make it easy to share reusable things - everything from buttons to data providers. Preact's design means you can seamlessly use thousands of Components available in the React ecosystem.

Adding a simple preact-compat alias to your bundler provides a compatibility layer that enables even the most complex React components to be used in your application.



[그림1] preactjs logo


preact의 목표

Preact는 몇 가지 주요 목표를 달성하는 것을 목표로합니다.

성능 : 빨리고 효율적으로 렌더링
크기 : 작은 크기, (3.5kb 약) 경량
효율성 : 효과적인 메모리 사용 (재활용, GC 쓰레기 방지)
이해 : 코드베이스를 이해하는 데 몇 시간 이상 걸리지 않아야합니다.
호환성 : Preact는 반작용 API와 대부분 호환되도록하는 것을 목표로하고있다. preact-compat은 가능한 한 React와 많은 호환성을 달성하려고 시도합니다.

+ Recent posts