Repository navigation

#

Preact.js

发布于 November 14, 2015

preactjs/preact
preactjs.com

相关主题

ReactJSX (JavaScript XML)
preact logo

Preact.js 是一个轻量级的 React 替代品,保持与 React 相同的 API。

与 React 的相同点

  • ES6 Class, hooks, and Functional Components
  • Compatibility via a simple preact/compat alias
  • JSX, VDOM, DevTools, HMR, SSR.
  • Cross-browser compatibility
  • Transparent asynchronous rendering with a pluggable scheduler

与 React 的区别

  • Works in the browser without any transpilation steps
  • Syntactic sugar
    • props, state and context are passed to render()
    • Standard HTML attributes like class and for can be used instead of className and htmlFor
preactjs/preact

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

JavaScript
38016
5 天前

An online IDE for rapid web development

JavaScript
13456
1 天前
TypeScript
13431
1 天前
jaredpalmer/razzle

✨ Create server-rendered universal JavaScript applications with no configuration

JavaScript
11078
2 年前
molefrog/wouter

🥢 A minimalist-friendly ~2.1KB routing for React and Preact

TypeScript
7533
4 个月前

Gitalk is a modern comment component based on Github Issue and Preact.

JavaScript
7152
1 年前

A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)

JavaScript
5556
8 个月前

A blazing fast React alternative, compatible with IE8 and React 16.

JavaScript
5430
5 年前

⚡A zero-config bundler for JavaScript applications.

JavaScript
5203
4 年前

👩‍🚀 The tiny all-in-one development tool for modern web apps.

JavaScript
4927
2 年前

😺 Your next Preact PWA starts in 30 seconds.

JavaScript
4683
2 年前

Manage state with style in every framework

TypeScript
4240
12 小时前

Create and build modern JavaScript projects with zero initial configuration.

JavaScript
3933
2 年前
omgovich/react-colorful
TypeScript
3423
1 年前
cristianbote/goober
JavaScript
3222
2 天前

✨ Viselect - A high performance and lightweight library to add a visual way of selecting elements, just like on your Desktop. Zero dependencies, super small. Support for major frameworks!

TypeScript
2909
10 天前