Preact.js

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
,state
andcontext
are passed torender()
- Standard HTML attributes like
class
andfor
can be used instead ofclassName
andhtmlFor
- GitHub: https://github.com/topics/preact
- Repo: https://github.com/preactjs/preact
- Released: November 14, 2015
- Related Topics: react, virtual-dom, hmr, jsx, ssr,
- Aliases: preactjs, preact-js,
- Last updated: 2025-05-21 00:23:37 UTC
- JSON Representation
https://github.com/prateekbh/hopon
PWA for https://play.google.com/store/apps/details?id=com.ketchapp.hop
preact preact-material-compoenents preact-router pwa
Last synced: 19 Apr 2025
https://github.com/blinkk/rootjs
Root.js – A full-featured web development tool with a built-in CMS.
cms firebase jsx preact typescript vite
Last synced: 10 Apr 2025
https://github.com/mvrilo/torresmo
Experimental torrent client and server
bittorrent client go golang http preact server torrent typescript
Last synced: 14 Apr 2025
https://github.com/aralroca/webgl-gears
Dynamic gears implemented with WebGL
javascript learning opengl preact snowpack tutorial wegbl
Last synced: 19 Apr 2025
https://github.com/lighth7015/firehouse
A Preact Material-UI theme written in TypeScript (heavily inspired by Google's Firebase UI)
preact preact-template preact-x typescript
Last synced: 09 Apr 2025
https://github.com/catdad/electron-template
⚛ opinionated electron application template
electron github-actions hacktoberfest htm preact template
Last synced: 08 Apr 2025
https://github.com/ooade/preact-side-effect
Create components whose nested prop changes map to a global side effect
preact preact-side-effect react react-side-effect
Last synced: 24 Jan 2025
https://github.com/tomokimiyauci/utterances-component
Component library for utterances
monorepo multi-frameworks preact react svelte utterances vue
Last synced: 21 Mar 2025
https://github.com/guru107/test_app
Preact PWA boilerplate with SSR and code splitting using webpack-flush-chunks and react-universal-component
preact preact-app preact-router progressive-web-app service-worker
Last synced: 23 Apr 2025
https://github.com/siffogh/match-game-multiplayer
A multiplayer matching game to learn German 🇩🇪
Last synced: 25 Mar 2025
https://github.com/malbernaz/preact-hn
A hacker news clone built with preact.
Last synced: 04 May 2025
https://github.com/aralroca/cat-dog-detection-tfjs
Cat/Dog detection model in Tensorflow.js
machine-learning mobilenet preact react tensorflow tensorflowjs tfjs tfjs-tutorials
Last synced: 19 Apr 2025
https://github.com/jacob-ebey/preact-webpack-prerender
POC of pre-rendering Preact applications via a webpack plugin using preact-iso.
Last synced: 22 Apr 2025
https://github.com/michael-klein/alterisk
A generator driven component api for (p)react and more!
async component generators preact react ui
Last synced: 25 Apr 2025
https://github.com/barelyhuman/preact-islands-fullstack-template
Starter Template for fullstack apps with preact islands
islands preact preact-islands starter template
Last synced: 15 Apr 2025
https://github.com/bewcloud/bewcloud-desktop
Desktop Sync client for bewCloud built with Rust using Tauri. 😎 ♾️
bewcloud file-sync nextcloud open-source owncloud preact rclone rsync sync tailwindcss tauri typescript vite webdav
Last synced: 12 Apr 2025
https://github.com/berndwessels/preact-mdc-demo
Examples on how to use preact-mdc material design components.
material-components-web material-design material-design-components mdc mdl preact preact-mdc preact-mdl
Last synced: 19 Apr 2025
https://github.com/jahilldev/preact-parser
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function. Can parse HTML strings into VDom trees, ready to render in your Preact components
browser dangerouslysetinnerhtml html isomorphic jsx parser preact render server string
Last synced: 19 Apr 2025
https://github.com/xavimondev/boostgrammar.io
Platform to improve your grammar and become an expert in English.
astro cloudfare fastify midudev-cohere-2023 preact railway supabase tailwindcss
Last synced: 10 Apr 2025
https://github.com/benadam11/sfxo
A simple parallax website to promote a friend's business using Preact.js
Last synced: 15 Mar 2025
https://github.com/dervexdev/github-loc
A Chrome extension that shows Lines Of Code of GitHub repository in simple yet elegant way
chrome-extension github lines-of-code preact vite
Last synced: 12 Apr 2025
https://github.com/ikurotime/buddyspot
A virtual room website for you and your friends made with deno and supabase. Work in progress
deno denofresh hacktoberfest preact supabase-js twind typescript
Last synced: 11 Feb 2025
https://github.com/Dramloc/preact-auth0-template
A simple `preact-cli` template for auth0
Last synced: 21 Dec 2024
https://github.com/atlassubbed/atlas-relax
Minimal, powerful declarative VDOM and reactive programming library.
components diff dom framework hyperscript jsx meteor mithril preact react reactive vdom virtual-dom
Last synced: 10 Apr 2025
https://github.com/jasonchen1982/preact-highlight
a syntax highlight component for preact
highlight hljs preact preact-hljs syntax-highlighting
Last synced: 10 Apr 2025
https://github.com/hizoul/preact-to-nativescript
Render preact-Components to NativeScript
jsx nativescript nativescript-plugin preact preact-to-nativescript
Last synced: 15 Mar 2025
https://github.com/notwoods/tigeroakes.com
My portfolio website. Designed to work offline, load quickly, and showcase some of my favorite projects.
astro css-animations offline portfolio-website preact tailwindcss
Last synced: 19 Apr 2025
https://github.com/nicozweifel/vike-docs-template
A template for easily deploying customizable mdx pages.
documentation esbuild mdx mdx-bundler mdx-butler preact ssg static-site-generation template vike
Last synced: 10 Apr 2025
https://github.com/safdarjamal/vanilla-preact
Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.
barebones-starter-kit es6-modules esmodules hacker-news htm javascript no-build no-jsx preact preact-app preact-boilerplate ui unpkg vanilla-preact
Last synced: 14 Feb 2025
https://github.com/a7ul/webcomponents-with-react-webcomponentify
Web components based components library using react-webcomponentify + (P) React. This repo showcases how you can build web components using react without much bundlesize overhead.
components experiment javascript preact react reactjs web web-components
Last synced: 27 Apr 2025
https://github.com/henrybarreto/mytv
MyTV is a web based IPTV UI
hacktoberfest preact tv ui web
Last synced: 26 Apr 2025
https://github.com/nyancss/nyancss-css-modules-loader
Nyan CSS webpack loader that converts CSS Modules into React/Preact components
css css-modules nyancss preact react styled-components webpack webpack-loader
Last synced: 12 Apr 2025
https://github.com/ezekielchentnik/preact-no-ssr
A Preact component for skipping server side rendering (SSR) of components. This component helps render components on the server that make sense to be rendered above the fold or that only makes sense to render on client.
above-the-fold isomorphic preact progressive-web-app rollem rollup ssr universal-javascript
Last synced: 10 Apr 2025
https://github.com/avajs/ava-preact-init
Set up AVA for Preact
ava generate initialize nodejs preact scaffold
Last synced: 13 May 2025
https://github.com/angelmunoz/perla-templates
A repository with samples showcasing what can the perla dev server do today
devserver devtools dotnet fsharp javascript jsx lit-element perla preact react tsx typescript
Last synced: 20 Mar 2025
https://github.com/prateekbh/preact-timepicker
Android timepicker clock implementation
Last synced: 19 Apr 2025
https://github.com/mkrl/trow.app
It's like scrum poker, but without the poker!
agile p2p peerjs preact preact-cli scrum scrum-poker typescript voting-system
Last synced: 05 May 2025
https://code2k.github.io/ghfresh/
Monitor GitHub repositories for new releases.
create-react-app markdown material-ui preact prerender react redux redux-toolkit spa testing-library typescript
Last synced: 01 Apr 2025
https://github.com/mseddon/preact-md-components
Material Design components from scratch using Preact.
material-design material-design-lite preact
Last synced: 23 Apr 2025
https://github.com/joduplessis/buggable
An embeddable bug reporting & screenshot creation component that integrates rrweb & video/webcam recording. 🐞 🎥
feedback logging preact react rrweb screenshot webrtc
Last synced: 09 Apr 2025
https://github.com/alexmarqs/spotify-now-playing-svg
🎵 Spotify Now Playing SVG Generator using Vercel Serverless API
aws-lambda generator github-profile hacktoberfest preact readme serverless spotify spotify-api spotify-badge svg typescript
Last synced: 15 Mar 2025
https://github.com/ultirequiem/audio-visualizer
🌃 Audio Visualizer App
audio audio-visualizer preact preact-app typescript
Last synced: 08 May 2025
https://github.com/preactjs/babel-plugin-transform-hook-names
Add custom hook names for devtools
Last synced: 04 Feb 2025
https://github.com/tsparticles/preact
Preact.js tsParticles official component
hacktoberfest javascript preact tsparticles typescript
Last synced: 12 Apr 2025
https://github.com/code2k/ghfresh
Monitor GitHub repositories for new releases.
create-react-app markdown material-ui preact prerender react redux redux-toolkit spa testing-library typescript
Last synced: 02 May 2025
https://github.com/ttntm/buildless-preact-starter
:rocket: Using Preact in buildless environments
buildless preact starter template
Last synced: 23 Nov 2024
https://github.com/xrr2016/my-gank.io
PWA gank.io
preact preact-redux preact-router redux
Last synced: 12 Apr 2025
https://github.com/jrson83/inertia-preact
The Preact adapter for Inertia.js.
inertia inertiajs inertiajs-adapter laravel preact preactjs ssr
Last synced: 17 Jan 2025
https://github.com/zaadevofc/zaadevofc.tech
zaadevofc Responsive Portfolio Web with ViteJS + Preact and TailwindCSS
nextui portfolio preact tailwindcss templates ts typescript vitejs web
Last synced: 11 Apr 2025
https://github.com/fetchte/smoothslider
A Minimal Preact Carousel Slider
carousel-component ctr preact slider-component
Last synced: 20 Nov 2024
https://github.com/lxsmnsyc/graph-state
Digraph-based state management library for JavaScript
digraph flux-architecture graph preact react recoil state-management store
Last synced: 14 Feb 2025
https://github.com/pheralb/preact-pwa
⚛️ Create a fast PWA with Preact, Typescript & Vitejs.
boilerplate preact pwa react typescript vitejs
Last synced: 10 Apr 2025
https://github.com/koddr/reactless-ts
✨ A handy production-ready template for rapidly frontend development that you've often dreamed of. Small, but with full backward compatibility to all of React.js ecosystem, but without its overhead!
frontend preact preact-template preactjs react react-template reactjs tailwindcss typescript
Last synced: 12 Apr 2025
https://github.com/enthusiastic-js/form-observer
A simple utility for reacting to events from a form's fields
form html js lit observer preact progressive-enhancement react solid svelte validation vue web
Last synced: 01 Apr 2025
https://github.com/sgtpep/exchange-widget
The currency exchange widget inspired by a popular mobile app implemented using Preact, Meiosis, HTML tagged templates and native ES modules.
es-modules meiosis preact tagged-template
Last synced: 11 Apr 2025
https://github.com/idchlife/nuclear-reactor
Nuclear Reactor is convenient state and actions management in React/Preact applications.
flux-like nuclear-reactor preact react
Last synced: 04 May 2025
https://github.com/kepennar/master-darija
Learn Darija (Moroccan dialect) with a friendliness app and a fancy interface. Currently work in progress
Last synced: 16 Feb 2025
https://github.com/saeris/mini-movie-db
🎬 Simple clone of The Movie DB built with Preact, Apollo, & Serverless
apollo codesandbox graphql movie-db preact serverless
Last synced: 06 Dec 2024
https://github.com/elforastero/framer
✓ Simple and clean to-do list
browser-extension chrome preact react-browser-extension todo todo-list todolist
Last synced: 23 Mar 2025
https://github.com/jimmylee/bare
Deprecated: Preact + LESS + Webpack 2/Babel skeleton codebase.
babel less postcss preact skeleton-application webpack
Last synced: 19 Dec 2024
https://github.com/bmitchinson/old-preact-typescript-pwa-starter
Preact PWA template with support for TypeScript + SASS (131 Kb)
preact preact-router pwa pwa-boilerplate sass typescript
Last synced: 01 Apr 2025
https://github.com/catdad/chord-explorer
🎸 look up guitar and ukulele chords
chord-diagram preact react reactjs ukulele ukulele-chords
Last synced: 15 Apr 2025
https://github.com/safdarjamal/preact-boilerplate
⚛️🚀 A minimal Preact boilerplate project, powered by Parcel.
babel boilerplate create-react-app javascript jsx parcel parcel-bundler preact preact-boilerplate react
Last synced: 14 Feb 2025
https://github.com/bjarneo/nanon
UMD Bundler
cli google-closure-compiler preact react transpiler umd webpack widgets
Last synced: 25 Apr 2025
https://github.com/huynhducduy/refuse
Yet another fast and lightweight alternative of React.js
dom hooks hyperscript jsx preact react reactjs reconciliation solid virtual-dom
Last synced: 12 Apr 2025
https://github.com/superdisk/cardgames
An implementation of FreeCell in Parenscript and Preact
Last synced: 12 Apr 2025
https://github.com/lablnet/lablnet.com
My personal Portfolio website https://lablnet.com
astrojs mit-license open-source portfolio preact tailwind-css vuejs3
Last synced: 20 Nov 2024
https://github.com/rspack-contrib/rspack-plugin-preact-refresh
Preact refresh plugin for Rspack
Last synced: 10 Apr 2025
https://github.com/bustle/mobiledoc-vdom-renderer
🔮 Render Mobiledoc as VDOM by passing your React or React-like `createElement` function
createelement hyperscript mobiledoc preact react vdom
Last synced: 23 Apr 2025
https://github.com/mryechkin/figma-vite
Example project for creating Figma plugins with Vite
figma figma-plugin preact vite
Last synced: 08 May 2025
https://github.com/lxsmnsyc/laze
Lazily render components
lazy-evaluation lazy-loading preact react react-hooks vue vue-composition-api
Last synced: 17 Feb 2025
https://github.com/dchan3/enigma-cms
Experimental custom MERN Stack CMS project
cms cms-framework content-management content-management-system drupal keystone mern mern-project mern-stack mongodb mongoose node-cms nodejs preact wordpress
Last synced: 29 Apr 2025
https://github.com/SafdarJamal/preact-boilerplate
⚛️🚀 A minimal Preact boilerplate project, powered by Parcel.
babel boilerplate create-react-app javascript jsx parcel parcel-bundler preact preact-boilerplate react
Last synced: 11 May 2025
https://github.com/becklyn/mojave
A library of commonly used JavaScript tools and helpers by Becklyn
frontend integration javascript preact rad typescript ui utils
Last synced: 09 Feb 2025
https://github.com/loucyx/lou.codes
📚 Lou's libraries monorepo.
fp functional javascript libraries monorepo preact pure react typescript utils
Last synced: 07 May 2025
https://github.com/marvelbark2/ryo-js
Js fullstack framework, Incredibly fast
blog browser compiler components framework-js frameworks fullstack graphql hybrid javascript node preact react reactjs rest-api server static-site-generator typescript universal websocket
Last synced: 10 Apr 2025
https://github.com/wjkba/gta-sa-menu-startpage
A browser start page that looks like the iconic GTA San Andreas menu
homepage newtab preact self-hosted startpage startpages
Last synced: 10 Feb 2025
https://github.com/abhisheksoni27/nano-preact-app
Boilerplate Preact app built with Parcel
cli create-react-app nano-preact-app preact react
Last synced: 02 Jan 2025
https://github.com/ultirequiem/node-esm-native-streams-server
🌳 Example web app using only the Node.js standard library
esm html javascript nodejs preact
Last synced: 13 Mar 2025
https://github.com/lxsmnsyc/store-adapter
Connect stores and mutable sources to React and Preact the correct way
hook mutable-sources preact react state-management store subscription
Last synced: 09 Feb 2025
https://github.com/fa7ad/init-preact-app
Create a preact app using neutrino
Last synced: 30 Mar 2025
https://github.com/queckezz/preact-element
A simpler element creation function (h) for preact
Last synced: 09 Feb 2025
https://github.com/studentivan/predux-connect-decorator
Preact Redux's connect as a decorator.
Last synced: 19 Jan 2025
https://github.com/utf-4096/wpt-viewer
Viewer for tests published on wpt.fyi
Last synced: 10 Apr 2025
https://github.com/rschristian/preact-hint
A tiny and flexible tooltip library for Preact applications
Last synced: 19 Apr 2025
https://github.com/phs-tsa/webmaster-24-25
A lame vegan restaurant
deno deno-deploy denofresh fresh pattonville-school-district preact tailwindcss technology-student-association typescript webmaster website
Last synced: 07 May 2025
https://github.com/lordronz/lordronz.github.io
My CV
cloudflare-pages github-actions github-pages nextjs preact react reactjs tailwindcss typescript
Last synced: 22 Mar 2025
https://github.com/dalisoft/dev-env
Collection of Development Environments templates
aws-lambda express fastify lambda nanoexpress preact react serverless
Last synced: 16 Dec 2024