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-25 00:22:52 UTC
- JSON Representation
https://github.com/utf-4096/wpt-viewer
Viewer for tests published on wpt.fyi
Last synced: 10 Apr 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
https://github.com/kusstar/signals-persist
A library for persisting state of a [signal](https://github.com/preactjs/signals).
persist preact react signals state-management storage
Last synced: 19 Dec 2024
https://github.com/rschristian/preact-hint
A tiny and flexible tooltip library for Preact applications
Last synced: 19 Apr 2025
https://github.com/ultirequiem/ulticlock
⌛ A real time clock
clock deno deno-site gh-pages javascript packup preact preact-deno twind-deno typescript
Last synced: 08 May 2025
https://github.com/ljpengelen/jenkinsfile
A monorepo demonstrating CI/CD for a static front end and a back end running in a Docker container
dokku falcon jenkins-pipeline jenkinsfile preact python
Last synced: 18 Apr 2025
https://github.com/kossnocorp/hoc-loader
Webpack loader that wraps component modules into given HoC
hoc preact react webpack webpack-loader
Last synced: 15 Apr 2025
https://github.com/csbun/preact-storybook-example
An example of storybook with preact
Last synced: 25 Apr 2025
https://github.com/ultirequiem/ultinews
💄 A Cool Hacker News UI
deno hacker-news packup preact preact-twind preact-typescript twind typescript
Last synced: 07 May 2025
https://github.com/negrel/bulkcompress.photos
Bulk compress photos.
compress-images compress-photos deno fresh preact
Last synced: 25 Apr 2025
https://github.com/jayrbolton/covid19-growth-dashboard
COVID-19 tracking dashboard
coronavirus coronavirus-tracking covid-19 covid-tracking covid19 preact tachyons typescript
Last synced: 11 Feb 2025
https://github.com/lyohaplotinka/reax-standalone
Tiny and fast React and Preact state management in style of Vuex
Last synced: 20 Mar 2025
https://github.com/thepassle/preact-reddit-pwa
Going Buildless: Simple Reddit PWA made with Preact, htm, Pika, import-maps and kv-storage.
htm import-maps kv-storage pika preact pwa
Last synced: 15 Apr 2025
https://github.com/seeui/seeui-mobile
A Modern Mobile UI Kit based on Preact
Last synced: 11 Apr 2025
https://github.com/fuzetsu/staterino
Simple hook based state management.
hooks immutable preact react state-management
Last synced: 25 Apr 2025
https://github.com/ultirequiem/fibonacci-app
🔢 Fibonacci App
fibonacci html-css-preact johannes-gutenberg-school preact school-project tailwindcss talk typescript
Last synced: 13 Mar 2025
https://github.com/seleb/fillp-tool
Helper for creating PICO-8 fillp patterns
Last synced: 12 Apr 2025
https://github.com/olliekav/dj.olliekav.com
Little experimental Preact SPA to showcase my DJ mixes
audio javascript javascript-audio-player music-player netlify preact react react-audio-player rss scss showcase soundcloud soundcloud-api soundcloud-player soundcloud-widget streaming-audio
Last synced: 09 Feb 2025
https://github.com/jakehamilton/scrumfi.sh
🐠 Story pointing with fish.
agile javascript js node preact scrum webapp
Last synced: 09 Apr 2025
https://github.com/doshareme/src
Open Source Ad-Free File Sharing for the Internet
cloud file file-sharing file-upload filestorage hacktoberfest js mongodb node preact privacy privacy-tools pymongo s3 s3-bucket s3-storage self-hosted tailwind tailwindcss website
Last synced: 12 Apr 2025
https://github.com/limhenry/urlshortener
A URL Shortener using Preact and Firebase (Auth, Firestore and Cloud Functions)
firebase firebase-authentication firebase-functions firebase-hosting preact
Last synced: 10 Apr 2025
https://github.com/bemusic/bmsurge-website
Nonstop Be-Music radio station website.
Last synced: 07 May 2025
https://github.com/kshutkin/slimlib
Small footprint libraries
angular linked-list list preact react rxjs store svelte sveltejs typescript
Last synced: 12 Apr 2025
https://github.com/alisenola/notify
A small deno deploy / self hosted solution to send web push notifications with webhooks
deno notifications preact push-notifications pushnotifications pwa web-push-api web-push-notification webhook webpush webpush-notifications
Last synced: 12 Apr 2025
https://github.com/flamrdevs/classed
classed components
preact qwik react solid tailwindcss unocss vue
Last synced: 12 Apr 2025
https://github.com/twuni/router-preact
A tiny router for Preact apps. It connects your app with the address bar. That's it.
Last synced: 13 May 2025
https://github.com/hueitan/kaios-app-template
(WIP) Your starting point for the KaiOS app
boilerplate kaios kaios-app preact template
Last synced: 04 Apr 2025
https://github.com/stouderio/inertia-preact
The Preact adapter for Inertia.js.
adonis inertia inertiajs inertiajs-adapter laravel preact preactjs ssr
Last synced: 12 Apr 2025
https://github.com/sim642/einstein-js
Einstein Puzzle 2.0 by Flowix Games ported to the web
dexiejs game lodash preact puzzle-game typescript web webpack
Last synced: 17 Dec 2024
https://github.com/jordic/aiofsearch
aiohttp + preact + parcel + websockets. Search your local files on the browser with the silver searcher
aiohttp asyncio preact websocket
Last synced: 21 Mar 2025
https://github.com/amarcruz/eslint-config-standardize
My personal configuration based on StandardJS, ready for JavaScript and TypeScript
config eslint eslint-plugin-prettierx eslint-rule javascript lint plugin preact preset prettierx standardjs typescript
Last synced: 11 Feb 2025
https://github.com/krofdrakula/prop-docs
A tool to extract property type information from JSX components using TypeScript
preact storybook types typescript
Last synced: 22 Apr 2025
https://github.com/searls/html-to-preact-h
Converts an HTML string to a string of preact hyperscript h() calls
Last synced: 19 Mar 2025
https://github.com/seonhyungjo/preact-vite-swr__discussions
preact, vite 같이 공부해요 :pray:
Last synced: 26 Mar 2025
https://github.com/mokshit06/a11y-tech-syndicate
Not just an accessibility testing engine
accessibility alt-text chrome-extension live-caption preact
Last synced: 24 Mar 2025
https://github.com/vuexltd/preact-starter
A simple preact boilerplate, using webpack and typescript.
boilerplate preact preact-demos react scss server-side-rendering ssr webpack webpack2
Last synced: 25 Feb 2025
https://github.com/daybrush/rollup-plugin-preact
Rollup Plugin for Preact Compat
compat preact rollup rollup-plugin
Last synced: 19 Apr 2025
https://github.com/vuexltd/preact-flex-layout
Flexbox layout engine for preact. Based on angular material's layout engine.
Last synced: 22 Mar 2025
https://github.com/micro-fe-solution/qiankun-starter
低代码解决方案 qiankun 开发模版
micros pnpm pnpm-workspaces preact qiankun react svelte template typescript umi3 umi4 vite vue webpack
Last synced: 15 Mar 2025
https://github.com/edixonalberto/api-jobs-dev
API Rest para buscar empleo en programación. Creado con Deno 🦕
deno portfolio preact typescript
Last synced: 06 Mar 2025
https://github.com/fpapado/react-faux-button
Accessible React <button> usurper.
a11y accessibility aria button preact react
Last synced: 26 Feb 2025
https://github.com/teemukoivisto/varjo-sport-lambda-scraper
Website and scraper with Scrapy + AWS Lambda to scrape https://unisport.fi 's crappy website
aws aws-lambda nodejs preact s3 scrapy serverless unisport
Last synced: 21 Mar 2025
https://github.com/suhaotian/preact-boilerplate
Preact boilerplate. Based on create-react-app.
boilerplate-template create-react-app preact preact-boilerplate
Last synced: 15 Apr 2025
https://github.com/deno-mage/app
Build web applications with Deno
api deno jsr preact typescript web
Last synced: 16 Feb 2025
https://github.com/bmitchinson/playlists
Showcase your music collection in a way that's streaming platform agnostic + with highlighted selections.
apple-music firestore music-collection preact pwa soundcloud spotify-api typescript
Last synced: 12 Mar 2025
https://github.com/sgratzl/mobx-preact-lite
Wrapper around mobx-react-lite with Preact typings
mobx mobx-react-lite preact typescript typings
Last synced: 09 Apr 2025
https://github.com/geekcoderscz/ai-generation
Simple UI and Backend for AI generation using cloudflare
ai cloudflare-ai cloudflare-pages cloudflare-workers preact typescript
Last synced: 12 Apr 2025
https://github.com/vimtor/barams
🌐 Chrome extension for creating query string templates
chrome-extension preact query-string query-string-builder styled-components
Last synced: 12 Apr 2025
https://github.com/catdad/fair-compare
🎡 simple and easy comparison of images and text across whole directories
electron hacktoberfest htm image-compare image-comparison preact
Last synced: 15 Apr 2025
https://github.com/redstonewizard08/wormhole
A centralized multi-game mod and modpack manager and launcher, supporting Steam, Epic Games, and the Private Division launcher.
automation ckan ckan-api installer kerbal-space-program kerbal-space-program-2 ksp ksp2 launcher modding-tools preact rust spacedock spacewarp tauri typescript
Last synced: 14 Feb 2025
https://github.com/vixalien/dotio2
Static blog for vixalien
deno deno-blog deno-deploy preact react
Last synced: 30 Apr 2025
https://github.com/kuc-arc-f/sonik-react5cms
sonik + preact + D1 + cloudflare pages, CMS sample
cloudflare-d1 cloudflare-pages preact sonik
Last synced: 18 Feb 2025
https://github.com/prod3v3loper/generator-webpack-preact
📦 Create professional Projects with Webpack, TypeScript, Preact, Redux-Zero and Babel
babel development devserver hot-module-replacement html preact production react redux redux-zero sass scaffold scaffold-template scaffolding template typescript webpack
Last synced: 23 Apr 2025
https://github.com/kuc-arc-f/sonik-react2
sonik + preact + D1 + cloudflare pages, sample
cloudflare-d1 cloudflare-pages preact sonik
Last synced: 18 Feb 2025
https://github.com/MichaelCurrin/html-timeline-generator
Browser tool to create pretty HTML timelines
generator html preact timeline
Last synced: 14 Apr 2025
https://github.com/eldarlrd/js-algorithms
Pure and Interactive JS Algorithms.
Last synced: 14 Jan 2025
https://github.com/mjdease/preact-resize-observer
Element resize event for Preact
preact preact-components resize-observer typescript
Last synced: 10 Apr 2025
https://github.com/michaelcurrin/html-timeline-generator
Browser tool to create pretty HTML timelines
generator html preact timeline
Last synced: 04 Mar 2025
https://github.com/schedule-x/preact
Preact component for the Schedule-X calendar
event-calendar javascript preact
Last synced: 12 Apr 2025
https://github.com/dcsunset/lfreader
A self-hosted Local-first Feed (RSS/Atom/JSON Feeds) Reader written in Python and Preact/React.
feed local-first preact python react rss self-hosted
Last synced: 11 Feb 2025
https://github.com/molnarmark/preact-flatpickr
📅 Preact wrapper for the Flatpickr library.
date date-picker preact preact-components
Last synced: 14 Apr 2025
https://github.com/ivanatias/ivanatias.codes-denofresh
Ivan Atias' personal website
blog deno fresh portfolio preact typescript
Last synced: 14 Dec 2024
https://github.com/denysvuika/preact-getting-started
Getting started with Preact, Typescript and Parsel.
parcel-bundler preact preact-router scaffold typescript
Last synced: 22 Apr 2025
https://github.com/pmcalabrese/pwa-preact
A minimalistic PWA boilerplate based on Webpack 3, Preact and Typescript with performance in mind.
boilerplate-application preact preact-app pwa pwa-apps
Last synced: 14 Mar 2025
https://github.com/vigetlabs/lights-out-vr
A WebVR exploration of Lights Out.
Last synced: 24 Mar 2025
https://github.com/wyze/preact-to-json
Convert Preact components to JSON.
jest preact snapshot testing typescript
Last synced: 01 Apr 2025
https://github.com/remarkablegames/tile-matcher
♠️ Tile-matching puzzle game
game javascript preact puzzle remarkablegames tile-matcher website
Last synced: 06 May 2025
https://github.com/lordronz/nextjs-starter
Next.js + Tailwind CSS + TypeScript Starter
nextjs preact react starter tailwindcss template typescript vercel
Last synced: 22 Mar 2025
https://github.com/remarkablegames/sudoku
🧩 Sudoku is a logic-based, combinatorial number-placement puzzle
game javascript preact puzzle remarkablegames sudoku
Last synced: 06 May 2025
https://github.com/bmitchinson/Playlists
Showcase your music collection in a way that's streaming platform agnostic + with highlighted selections.
apple-music firestore music-collection preact pwa soundcloud spotify-api typescript
Last synced: 10 Mar 2025
https://github.com/cristianbote/react-translate-json
:earth_americas: Make react speak your language
json preact react translate translations
Last synced: 07 Dec 2024
https://github.com/wyze/typescript-calculator
A calculator built with TypeScript.
glamor preact redux typescript
Last synced: 01 Apr 2025
https://github.com/kutsan/weather-me
Simple weather application that uses OpenWeatherMap API. I needed a fast app to simply search for cities and show their current weather conditions. So, it does simply one thing, show the current weather and its details.
openweathermap-api preact typescript weather weather-app
Last synced: 29 Mar 2025
https://github.com/herschel666/tweexel-editor
Editor for emoji-based pixel art on twitter.
Last synced: 05 May 2025
https://github.com/goblindegook/irregular-apocalypse
Irregular Apocalypse
offline-first preact preact-app pwa
Last synced: 07 May 2025
https://github.com/vuexltd/preact-material-design
A set of UI components for Preact that follow the Material Design Guidelines
material material-design preact ui
Last synced: 25 Feb 2025
https://github.com/pshev/preact-fela-simple
Super simple preact-fela bindings
bindings fela preact preact-fela
Last synced: 11 Apr 2025
https://github.com/openface/onset-preact-boilerplate
Onset+Preact UI integration example
Last synced: 02 May 2025
https://github.com/zimnovich/mxn-jsx-ast-transformer
Transforms JSX AST into regular JS AST
ast ast-transformation ast-transformations javascript jsx preact react transpiler
Last synced: 05 Apr 2025
https://github.com/takurinton/preact-fastify-ssr
server side rendering app.
Last synced: 13 Mar 2025
https://github.com/akellbl4/next-with-preact-boilerplate
Boilerplate for Next.js with Preact, tests with Jest and Enzyme
css-modules enzyme eslint jest nextjs nextjs-boilerplate nextjs-starter postcss preact prettier
Last synced: 26 Mar 2025
https://github.com/kutsan/kutsan-website
Source-code of my personel website, written in Preact and TypeScript.
Last synced: 08 Mar 2025
https://github.com/covenengineering/libraries
📚 Coven Engineering libraries monorepo.
deno hooks javascript jsr jsx monorepo preact react tsx typescript workspace
Last synced: 11 Apr 2025