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
eslint-plugin-validate-jsx-nesting
ESLint Plugin to Validate JSX Nestings
anonymous-web
💬 A PreactJS powered progressive web (chat) application (Not active)
blaze
âš¡ File sharing progressive web app built using WebTorrent and WebSockets
chirrapp
Chirr App splits text into tweets and posts it as a thread
preact-redux-typescript-rollup-starter
Smallest "React-like" + Redux starter EVER - 13KB min&gzip
hueify
💡Simple controller for your Philips Hue lights, based on web technologies.
progressive-web-app-starter
Preact based starter kit for making a Progressive Web App (PWA).
browser-extension
Browser Extension Template with ESbuild builds, support for React, Preact, Typescript, Tailwind, Manifest V3/V2 support and multi browser build including Chrome, Firefox, Safari, Edge, Brave.