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-06-04 00:23:27 UTC
- JSON Representation
https://github.com/michaelcurrin/preact-now
Preact project created using https://vercel.com
example preact vercel vercel-now
Last synced: 04 Mar 2025
https://github.com/joaopaulocmarra/react-widgets
A boilerplate to be evolved and used as Widgets project
library preact react ui-components widgets
Last synced: 26 Mar 2025
https://github.com/wrh34685/astroproject
First Astro build with AWS DynamoDB, Lambda functions and API Gateway.
astro aws aws-apigateway aws-dynamodb aws-lambda preact
Last synced: 05 Apr 2025
https://github.com/vutran/befit
TypeScript + Preact + webpack 3
boilerplate demo preact typescript webpack
Last synced: 24 Feb 2025
https://github.com/ncking/react-simple-store
A React.js store based on hooks: tiny & easy to use
hooks javascript mobx-react-alternative preact react react-global-state react-global-state-manager react-hooks react-state-management react-store redux redux-alternative state-management typescript
Last synced: 27 Mar 2025
https://github.com/nazarepiedady/testing-library-docs-pt
Documentação da Testing Library em Português. 🇦🇴 🇧🇷 🇵🇹
angular end-to-end jest mocha preact pt pt-br pt-pt ptbr react svelte test testing testing-framework testing-library vite vitest vue
Last synced: 02 Mar 2025
https://github.com/platane/watwet
🌲🌿 App to help arborists in their job
google-spreadsheet preact progressive-web-app
Last synced: 06 Apr 2025
https://github.com/nousantx/testing-template-tenoxui
It's just a default tenoxui test template in* case you want to test some feature with tenoxui
preact template tenoxui website website-template
Last synced: 06 Apr 2025
https://github.com/asqit/website
My Fast, Accessible and Responsive portfolio website made in fresh.js
denoland fresh portfolio-website preact tailwind-css typescript
Last synced: 10 Apr 2025
https://github.com/sanwebinfo/preact-cricket-score
Automated Static site - Publish Live Cricket Score Updates for Every 5 to 10 Minutes.
bulma cricket cricket-app cricket-data cricket-score cricket-scorecard cricket-stats css html javascript jsx livescore preact score tsx typescript
Last synced: 03 Apr 2025
https://github.com/leizongmin/holyhi
state management library for React that very easy to use
preact react redux state state-machine
Last synced: 05 Apr 2025
https://github.com/mauroreisvieira/preact-tailwind
Preact + Tailwind start project.
Last synced: 09 Apr 2025
https://github.com/ttntm/preact-data-viewer-demo
A data viewer + nav tree rendered from an array of objects (i.e. rows obtained from a DB).
data-viewer demo demo-app preact template tree
Last synced: 17 Mar 2025
https://github.com/bmitchinson/word-counter
Kata for finding the top 100 most frequently occurring words, excluding stop words, in a text file. Runs in `M + E + (M-E)log(M-E)` time. Written in Typescript, Express, and the Preact web framework. An exercise in "Red, Green, Refactor".
express kata preact tdd typescript
Last synced: 12 Mar 2025
https://github.com/data-miner00/hungry
Order a food and get delivered right in your mailbox 😋
laravel php preact redux sanctum typescript
Last synced: 02 Mar 2025
https://github.com/ara-framework/hypernova-preact
Preact Bindings for Hypernova
hypernova hypernova-preact preact
Last synced: 22 Feb 2025
https://github.com/flashblaze/url-expander
Enter shortened URL to get the original URL
Last synced: 21 Mar 2025
https://github.com/jessekoldewijn/pastro.jkinsight.nl
A blazingly fast and lightweight Astro.js based website.
Last synced: 02 Mar 2025
https://github.com/yuuire/yuuire.com
❄️ My personal website
lastfm minimal minimalistic personal-website portfolio preact tailwindcss template vite
Last synced: 02 Mar 2025
https://github.com/exuanbo/precoil
A minimal state management library for React.
hook hooks preact react react-hooks state state-management
Last synced: 23 Feb 2025
https://github.com/danprince/sietch
🏜️ Markdown static site generator that can render and bundle interactive TypeScript components at build time
markdown partial-hydration preact static-site-generator
Last synced: 27 Mar 2025
https://github.com/danprince/eleventy-preact-islands
🏝️ Islands architecture for Eleventy and Preact.
eleventy eleventy-plugin preact typescript
Last synced: 27 Mar 2025
https://github.com/serayuzgur/parceljs-example
An example for parceljs, preact/react usage.
parcel parcel-bundler parceljs preact
Last synced: 13 Mar 2025
https://github.com/albingroen/sbh
A map over crimes and events in Sweden
google-maps-api polisen-api preact
Last synced: 13 Mar 2025
https://github.com/afcms/afcms.github.io
AFCM's Website
preact typescript vite website
Last synced: 18 Mar 2025
https://github.com/abhishekkhandait/preact-task-board
A basic task board app based on Preact, TypeScript, Webpack
material-design preact preact-app preact-demos preact-redux preact-typescript task-board typescript webpack
Last synced: 18 Mar 2025
https://github.com/joeyschroeder/joey-schroeder-dot-com
🌈 Joey Schroeder's online résumé
Last synced: 27 Mar 2025
https://github.com/sebastiandotdev/preact-start
A framework Server side rendering for Modern Web Apps, powered by Preact.
devtools preact server-side-rendering typescript
Last synced: 20 Mar 2025
https://github.com/gregor-vm/devshortcut
This website was made to be a simple but fast visualizer of examples, allowing users to view, copy or download local examples or GitHub examples that are included and organized in the project, but users can also provide a GitHub URL to see any other example or repository on their own.
css express html nodejs preact tailwindcss typescript
Last synced: 20 Feb 2025
https://github.com/rajaishwary/preact-redux-tools-starter
A preact starter follows redux toolkit
minimalist preact redux styled-components
Last synced: 20 Mar 2025
https://github.com/barelyhuman/gopreact
A tiny server rendering utility for working with Go and Preact.
go preact render server-side-rendering
Last synced: 04 Apr 2025
https://github.com/lbrian/bigb
brianypliu.com, my portfolio website built by Preact.js with Firebase
content-visibility css firebase html javascript preact preact-cli typescript webcomponents
Last synced: 27 Mar 2025
https://github.com/atlassubbed/atlas-relax-jsx-pragmas
JSX pragmas (hyperscript and Fragment) for Relax.
components declarative dom fragment hyperscript jsx pragma preact react relax vdom virtual-dom
Last synced: 06 May 2025
https://github.com/cygniv404/rss-feed-reader
Preact
javascript preact preact-app rss-feed-parser xml-parser
Last synced: 05 Apr 2025
https://github.com/backbone-cord/backbone.cord
backbone.cord is a React/Backbone library for data binding and a JSX-compatible declarative layout pipeline.
backbone backbone-library databinding jsx preact react two-way-databinding
Last synced: 05 Apr 2025
https://github.com/shredderming/erizabesu
Carousel component built with Preact
carousel preact preact-components
Last synced: 04 Apr 2025
https://github.com/lyqht/keyboard-simulator
A mini game made for Advent of CSS 2021
advent-of-css-2021 astro keyboard-events keyboard-ui open-props preact
Last synced: 23 Feb 2025
https://github.com/kuldeepkeshwar/filbert-js-examples-with-preact
A starter kit using Preact and filbert-js
css-in-js filbert-js preact starter-kit
Last synced: 23 Feb 2025
https://github.com/alejandrojosue/tiendaplantillas-frontend
Frontend de un sitio web para venta/compra de plantillas web y de publicación de propuestas de proyecto para captar la atención de freelancers.
astro e-commerce-project frontend preact typesc
Last synced: 05 Apr 2025
https://github.com/strixhq/strix
🦉 Zero-Magic Web Library 🦉
angular html javascript jsr lit preact react solidjs svelte typescript vue
Last synced: 12 Apr 2025
https://github.com/crgiopeca88/experiments-preactjs-typescript
This is a repository about preactjs library with typescript
css html5 javascript preact preactjs sass typescript
Last synced: 05 Apr 2025
https://github.com/algoflows/aws-serverless-poc-monorepo
The OPSAP proof of concept monorepo using Yarn, Lerna the Serverless Framework's event-driven microservice architecture implementing a flexible multi-cloud deployable infrastructure.
auth0 aws aws-lambda dynamodb lerna-monorepo nextjs preact reactquery serverless-framework xstate yaml yarn-workspaces
Last synced: 31 Mar 2025
https://github.com/leolanese/reactjs-interceptor
Web-Component is a web standard and can be used across different frameworks, as long as the target environment has support for web components. Exporting our Preact component as a web component, we can use it in other frameworks or environments that support web components.
Last synced: 03 Mar 2025
https://github.com/rognstadragnar/preact-context-utilities
:smiling_imp: Small utilities for working with context in Preact
Last synced: 15 Mar 2025
https://github.com/dartess/preact-typescript-fastpack-swc
Experimental assembly Preact X and TypeScript using fastpack and swc.
fastpack preact swc typescript
Last synced: 02 Apr 2025
https://github.com/eviltik/evil-datepicker
evil-datepicker
datepicker datepicker-range preact webcomponent
Last synced: 27 Mar 2025
https://github.com/alxgmpr/preact-localstorage-state
Experimental Preact component bundle that uses LocalStorage to manage state. Bundles to ~4.5kB.
bundle localstorage preact rollup
Last synced: 15 Mar 2025
https://github.com/gaoux/eda-preact-demo
Frontend | Presentacion 1 ArqSof
arquitectura-de-software kafka preact
Last synced: 25 Apr 2025
https://github.com/starzonmyarmz/rmg
Random (Tiny)Music Generated Sequences
music preact tinymusic video-game
Last synced: 20 Mar 2025
https://github.com/hpneo/webpacker-preact
Preact integration for Webpacker.
preact rails webpacker webpacker-gem webpacker-rails
Last synced: 20 Feb 2025
https://github.com/evanminto/headless-signals
Experimental collection of small functions for use as headless components/hooks, implemented with Preact signals
component-library headless preact signals
Last synced: 20 Feb 2025
https://github.com/schneedotdev/attrienterprises-optimized
Optimized version of Attri Enterprises Website. Decreased page load times by 60% on mobile and 71% on desktops through static-site generation (SSG), image optimization, minimizing the number and size of requests, asset bundling, partial rendering, and lazy hydration.
astro preact typescript vercel
Last synced: 08 Mar 2025
https://github.com/msarray/audiospectrum
PIXIJS AUDIO SPECTRUM
audio audio-visualizer pixi-js pixijs preact sound typescript vite
Last synced: 05 Apr 2025
https://github.com/3imed-jaberi/preact-hacker-news
Web app for reading top hacker news stories.
hacker-news hackernews preact sass typescript valtio vite
Last synced: 27 Mar 2025
https://github.com/cdaringe/dvd-corner-bounce
dvd bounce. cause ya gotta
bounce dvd js phaserjs preact typescript
Last synced: 27 Feb 2025
https://github.com/vancenceho/cs349-user-interfaces
CS349 User Interfaces - Projects & Assignments
css html html-css preact react reactjs tailwind-css tailwind-vite tailwindcss tsx typescript typescript-application typescript-framework vanilla-html vanilla-html-css vite-typescript vite-vanilla-js
Last synced: 06 Apr 2025
https://github.com/nishanbajracharya/parcel-preact
A basic preact starter bundled using parcel
Last synced: 14 Mar 2025
https://github.com/mtlh/spourapreactgo
Fully featured ecommerce application, favourite and add shoes to your cart. Sort products using price, brand, type and search for your preferred fit.
ecommerce golang preact stripe tailwindcss vercel vite
Last synced: 05 Apr 2025
https://github.com/futpib/preact-r-dom
r-dom-like Preact DOM wrapper (JSX alternative)
Last synced: 28 Apr 2025
https://github.com/adakrei/adakrei.github.io
Official Website for Adakrei Ltd.
pnpm preact tailwindcss typescript vite
Last synced: 20 Feb 2025
https://github.com/uppercod/cssthis-object
It allows using cssthis based on an object, avoiding the need for cssthis-parse.
Last synced: 10 Apr 2025
https://github.com/timmo001/quiz
A Quiz, written with Astro and Preact.
astro firebase preact quiz tailwindcss typescript
Last synced: 16 Apr 2025
https://github.com/jeandv/curso-astro-demo
Curso con proyectos y practicas para entender el Framework Astro🔥
astro css html javascript preact react svelte tailwind typescript
Last synced: 05 Apr 2025
https://github.com/shredderming/miyuri
this is a preact image component also support react and vue
image preact preact-components react react-components vue vue-components
Last synced: 27 Feb 2025
https://github.com/jersou/desktop-web-app
Easily create a desktop (web) app... It serves a static dir and handle a routes array.
Last synced: 20 Mar 2025
https://github.com/vasucp1207/preact-appwrite-todolist
TodoList Demo using preact-js with appwrite
Last synced: 06 Mar 2025
https://github.com/konradmi/vinxi-preact
metaframework preact preact-router vinxi
Last synced: 17 Jan 2025
https://github.com/pioug/hush
Electron-based music player built with Preact
Last synced: 06 Mar 2025
https://github.com/andybons/multiclass
Minimal syntactic sugar for joining multiple classNames
classnames css css-in-js css-in-react preact react
Last synced: 20 Mar 2025
https://github.com/giuseppe998e/deno-packup-preact-example
Example of a simple website built using PreactJS, Deno, Packup and Sass
build bundle dart-sass deno esbuild javascript js packup preact preactjs sass ts typescript
Last synced: 17 Jan 2025
https://github.com/bearddan2000/nodejs-web-preact-typescript-eslint-template
A template for the preact framework a superset for react.
eslint nodejs npm preact template typescript web
Last synced: 24 Mar 2025
https://github.com/thomas-lebeau/rx-pull-to-refresh
⚗️Pull to refresh with RxJS
Last synced: 28 Mar 2025
https://github.com/chrisru/trains-frontend
🚅 Frontend for a train project to show which part of the train is most crowded
frontend ns preact school-project trains
Last synced: 20 Mar 2025
https://github.com/shinosaki/2ch.js
ウェブブラウザで動作する2ch互換掲示板ビューア/DATパーサー | 2ch compatible viewer/DAT parser
2ch 2ch-browser 2ch-viewer 5ch dat parser preact
Last synced: 22 Mar 2025
https://github.com/scffs/explorer
Проводник, написанный на Preact, Rust, VKUI
Last synced: 20 Feb 2025
https://github.com/imperfectandcompany/imperfect-cystem
Support center site for Imperfect Gamers, providing in-game feature guides, website resources, and server rules & support information.
imperfect-gamers imperfect-gamers-site-support imperfect-gamers-support imperfectgamers preact reactjs support tailwindcss typescript website
Last synced: 20 Feb 2025
https://github.com/kepennar/nlp-hue
A NLP remote for Philips Hue
hue-lights internet-of-things nlp preact pwa
Last synced: 15 Mar 2025
https://github.com/feedsquid/feedsquid
A self-hosted single-user hub for feeds and bookmarks
deno denofresh fresh preact rss rss-aggregator rss-reader typescript
Last synced: 19 Feb 2025
https://github.com/adeirjunior/github-user-finder
A github user searcher made with the fresh framework
deno fresh preact twind typescript
Last synced: 06 Apr 2025
https://github.com/adeirjunior/bitcoin-price-tracker
Bitcoin Price Tracker
deno fresh preact twind typescript
Last synced: 06 Apr 2025
https://github.com/quentinwidlocher/pokedex
"Native" pokedex with tabs
mantine preact tailwindcss tauri vite
Last synced: 27 Mar 2025
https://github.com/ismacortgtz/fasty-task-preact
Preact web client of Fasty-task, an app to manage your schol life.
client fasty-task js preact schedule school semistandard tasks vite
Last synced: 10 Feb 2025
https://github.com/geforcefan/wled-app
Lightweight hybrid WLED app for mobile and web
android app hybrid ios preact react-native web wled
Last synced: 05 Apr 2025