Preact.js topic
Preact.js is a lightweight React alternative with the same API.
Similarities to 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
Differences from React
- Works in the browser without any transpilation steps
- Syntactic sugar
props,stateandcontextare passed torender()- Standard HTML attributes like
classandforcan be used instead ofclassNameandhtmlFor
preact-transitioning
Preact components for easily implementing basic CSS animations and transitions
action-helper
The simplest action creator for redux
preact-cli-plugin-env-vars
🛠 Consume variables in your environment with the Preact CLI.
flowponent
A small Preact/React library for defining workflow-like evolving views via generators
hydrocarbon
not just an rss reader
preact
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
react-hint
Tooltip component for React, Preact, Inferno
next-translate
Next.js plugin + i18n API for Next.js 🌍 - Load page translations and use them in an easy way!
microsite
Do more with less JavaScript. Microsite is a smarter, performance-obsessed static site generator powered by Preact and Snowpack.
wasmboy
Game Boy / Game Boy Color Emulator Library, 🎮written for WebAssembly using AssemblyScript. 🚀Demos built with Preact and Svelte. ⚛️