Preact
Fast 3kB React alternative with the same modern API
Preact is a lightweight alternative to React that implements the same core component and hooks model in a tiny footprint. It provides a virtual DOM, diffing, and a familiar Component/JSX API, enabling developers to reuse much of their React knowledge. With preact/compat, many React libraries can be used directly, making migration or code sharing practical in performance-sensitive apps. Its focus on size and speed makes it attractive for embedded widgets, mobile web, and scenarios where initial load must be extremely fast. The library embraces modern patterns like functional components, hooks, and context while keeping the API surface minimal. ...