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-26 00:23:57 UTC
- JSON Representation
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/leecheneler/mage
Build web applications with Deno and Preact
api deno jsr preact typescript web
Last synced: 22 Nov 2024
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/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/mariomh8/terminal.mariomh.com
Terminal style portfolio website
astro bun firebase nanostores portfolio preact terminal terminal-portfolio terminal-style typescript
Last synced: 22 Mar 2025
https://github.com/nexmo-community/health-coaching-app
Health journaling app with video coaching functionality. Built with Preact.js CLI (Netlify CMS template) and OpenTok.
netlify-cms opentok preact preact-cli
Last synced: 18 Dec 2024
https://github.com/reime005/preact-fourconnect
A DApp game based on Preact, TypeScript, JavaScript and Solidity based Smart Contracts on the Ethereum Blockchain.
drizzle javascript jest preact react solidity typescript
Last synced: 06 Apr 2025
https://github.com/mykalmachon/snakes-on-a-browser
a proof of concept preact app that utilizes WASM python ⚛🐍
Last synced: 17 Jun 2025
https://github.com/nousantx/code-to-image-generator
Simple image generator with tenoxui classes.
css css-framework dom-to-image fast image image-generator javascript preact svg website
Last synced: 13 Apr 2025
https://github.com/awinogradov/xjst-benchmarks
perfomance performance-testing preact react xjst
Last synced: 27 Mar 2025
https://github.com/ikurotime/serent
A virtual chat room for fun and chill meetings
aws-amplify firebase preact tailwindcss webrtc
Last synced: 20 Feb 2025
https://github.com/keuller/react-observables
React and Observable integration sample
magament mostjs observables preact state
Last synced: 16 Mar 2025
https://github.com/stevendelro/frontend-masters-intermediate-react
A React course focused on intermediate-to-advanced tools and techniques within the React ecosystem.
emotion frontendmasters jest nodejs preact react react-loadable redux thunk tslint typescript
Last synced: 22 Feb 2025
https://github.com/taichi-t/blog_v2
🌝🌚|文A 💻 My blog website v2 builts with Preact, Typescript, Next.js, and GraphQL.
graphql i18n linaria nextjs preact typescript
Last synced: 20 Feb 2025
https://github.com/sh1zicus/sh1zicus.dev
🌿 Personal Portfolio
date-fns headlessui next-seo nextjs portfolio portfolio-website preact react tailwindcss typescript
Last synced: 21 Jun 2025
https://github.com/jhcueva/posts.ai
Are you looking for a way to create social media posts in seconds? Look no further! Our app is the perfect solution. You can easily create social media posts writing on the prompt the topic, press enter and in few seconds you'll get your answer.
astro cohere midudev-cohere-2023 preact
Last synced: 22 Feb 2025
https://github.com/ndom91/terminal-homepage
⌨️ Terminal Themed Landing Page
babel netlify pika preact typescript
Last synced: 31 Mar 2025
https://github.com/marcomontalbano/cv
This is my curriculum. It's just a PDF but with some cool behind the scenes.
curriculum-vitae cv decap-cms github-actions github-pages html2pdf jamstack netlify netlify-cms preact typescript
Last synced: 16 Apr 2025
https://github.com/vicainelli/vite-starter
javascript preact testing-library testing-library-preact vite vitest
Last synced: 18 Feb 2025
https://github.com/yuuire/silk-road-marketplace
🥦 "Silk Road Marketplace" portfolio website template built with Preact, Typescript & Tailwind CSS.
personal portfolio portfolio-template preact react react-portfolio silkroad tailwindcss typescript vite website
Last synced: 12 Apr 2025
https://github.com/shredderming/preact-prism
Preact syntax highlighting component using prism
highlight preact preact-components prism
Last synced: 22 Jun 2025
https://github.com/aziis98/ordinazioni-condivise
Un progetto realizzato in una manciata di ore per stimare i costi di ordinazioni condivise
Last synced: 02 Mar 2025
https://github.com/sh1zicus/yune.dev
🌿 Personal Portfolio
date-fns headlessui next-seo nextjs portfolio portfolio-website preact react tailwindcss typescript
Last synced: 10 Apr 2025
https://github.com/chrisfrank/uninformed
Nostalgically simple forms for React and Preact
ajax-form forms preact react uncontrolled-components
Last synced: 04 Apr 2025
https://github.com/dchicchon/polus
Plan your day using this planner! Includes daily, weekly, monthly calendars that syncs with your chrome storage. Created Using Preact + Vite
chrome-apis chrome-extensions chrome-storage cloud-tasks firebase firebase-auth firebase-messaging planner preact vite
Last synced: 20 Mar 2025
https://github.com/stevenfitzpatrick/stevenfitzpatrick.io
My personal homepage
preact pwa styled-components webpack workbox
Last synced: 09 Apr 2025
https://github.com/wjd3/next-lite
Full-featured, minimalist, and opinionated Next.js starter template. Weighs in at 45kb vs Create-Next-App's 71kb
lightweight nextjs preact tailwind tailwindcss template typescript
Last synced: 18 Mar 2025
https://github.com/tim-hub/preact-purge-tailwindcss
Preact CLI Plugin that helps add Tailwind CSS to your project, with typescript support.
npm preact preact-cli preact-plugin tailwindcss typescript webdevelopment
Last synced: 17 Mar 2025
https://github.com/catdad-experiments/camel-x3
🐪 PWA to send products from the Amazon app to CamelCamelCamel through the share sheet
amazon camelcamelcamel hacktoberfest htm preact price-history pwa share-sheet share-target
Last synced: 02 Apr 2025
https://github.com/barisyild/airpsx-frontend
The front end of the AirPSX application is built with Cursor with almost no coding.
Last synced: 15 Apr 2025
https://github.com/tanmayrajani/tvandmoviemap
An interactive graph built with cytoscape + preact that showcases the connections between movie/TV titles I've watched so far
cytoscapejs graph movie preact
Last synced: 27 Mar 2025
https://github.com/whoisryosuke/gatsby-preact-web-component-test
Starter template for Gatsby + Preact + Web Components
gatsbyjs preact template web-components
Last synced: 05 Mar 2025
https://github.com/milewskibogumil/lidenskap
🏛️ High-performance website for Lidenskap built with Astro, TypeScript & SCSS. Features custom animations, responsive design, and seamless CMS integration via Sanity. Showcasing historical renovation projects through carefully crafted interactions and optimized user experience.
animation-timeline astro astrobuild astrojs bun cookie-consent fslightbox github-workflows lenis performance preact react-hook-form sanity sanity-io sass turborepo vercel
Last synced: 15 Apr 2025
https://github.com/vuexltd/universal-material-design
A set of material design components with packages for various frameworks
angular material-design preact
Last synced: 22 Jan 2025
https://github.com/beingofexistence13/dx-frontend
Welcome to dx-frontend, an open-source project designed to address all your frontend challenges. Our mission is to simplify frontend development and make it more efficient and enjoyable. Let’s revolutionize frontend together!
angular backbonejs ember gatsby meteor nextjs nuxtjs preact react stancil vite vue
Last synced: 12 Mar 2025
https://github.com/aziis98/ro-vis
Visualizzazioni di Algoritmi studiati nel corso di Ricerca Operativa
mathematics operative-research pisa preact rational-numbers simplex-algorithm typescript visualization
Last synced: 12 Feb 2025
https://github.com/aureleoules/constanceoules
🌴 Front-End of constanceoules.com
Last synced: 06 Mar 2025
https://github.com/esperancajs/starter-preact-widget-redux-zero
A 26.6 kb widget starter
preact redux redux-zero webpack
Last synced: 24 Jun 2025
https://github.com/chinanf-boy/disqus-proxy-heroku
heroku 版本 disqus-proxy 网站没部署 可以通过 npm run debug 查看
babel disqus-api heroku hexo koa preact proxy webpack
Last synced: 15 May 2025
https://github.com/tderflinger/mmm-timetagger
Magic Mirror² module that shows the latest hours tracked by TimeTagger.
javascript magicmirror preact timetagger timetracking
Last synced: 21 Feb 2025
https://github.com/robert-ryu7/dosbox-express
DOSBox frontend built using Tauri.
dosbox dosbox-frontend dosbox-gui preact rust tauri vite
Last synced: 07 Apr 2025
https://github.com/simbo/magawa
A Minesweeper Clone written in Typescript using Canvas Rendering and Preact.
game minesweeper preact typescript vite
Last synced: 14 Mar 2025
https://github.com/fonoster/rox-ui
Roxanne is a voice assistant fully capable of interpreting human requests and processing them as intentions.
assistant-app assistant-chat-bots preact
Last synced: 09 Apr 2025
https://github.com/janritter/aws-lambda-calculator
Cost calculator for AWS Lambda with option to get memory and runtime for same calculated cost
aws aws-lambda bulma-css calculator preact
Last synced: 10 Apr 2025
https://github.com/chase-moskal/glorious-frontend
a stack to stake your career on
browserify frontend mobx preact react sass typescript uglify web
Last synced: 21 Feb 2025
https://github.com/ficusjs/ficusjs-renderers
Minified ES module renderers for FicusJS
css ficusjs frontend htm lit-html preact uhtml web-components
Last synced: 05 May 2025
https://github.com/eldarlrd/etch-a-sketch
A Digital Etch A Sketch for TOP.
drawing etch-a-sketch odin-project preact
Last synced: 14 Jan 2025
https://github.com/jarweb/preact-mobx-sample
a sample build by preact and mobx
Last synced: 20 Mar 2025
https://github.com/davorbadrov/chess-clock
A chess clock made as a PWA app.
Last synced: 24 Jun 2025
https://github.com/toastdriven/django-dash
The code that powers the Django Dash.
Last synced: 10 Jun 2025
https://github.com/remarkablemark/youtube-loop
:tv: Loop YouTube videos.
loop preact tailwind tailwindcss typescript vite website youtube youtube-loop
Last synced: 15 Dec 2024
https://github.com/eldarlrd/todo-list
A Complex Todo List for TOP.
drag-and-drop odin-project preact todolist twind
Last synced: 03 Mar 2025
https://github.com/fakundo/react-vld
Simple and flexible validation for React and Preact components
Last synced: 16 Mar 2025
https://github.com/becklyn/auslese
A tiny + fast choice / dropdown preact component.
combobox cypress dropdown javascript preact pulldown select typescript
Last synced: 03 Mar 2025
https://github.com/ssssota/svelte-preact-snippet
Create svelte snippets with JSX syntax based on preact
Last synced: 13 Apr 2025
https://github.com/alufers/hn-offline
An offline-first client for hackernews that even fetches the article contents for reading on the go.
hackernews indexeddb lightweight offline preact pwa react
Last synced: 07 Apr 2025
https://github.com/ernest-rudnicki/preact-neutralino-typescript-starter
A boilerplate starter for building lightweight desktop applications
boilerplate-template desktop-application neutralinojs preact typescript
Last synced: 01 Apr 2025
https://github.com/imcuttle/react-pizza
The utility for create (p)react component habitat.
independent preact react standalone
Last synced: 06 Apr 2025
https://github.com/homecodeorg/justorm
Just store manager. Based on Proxy.
preact react state-management store
Last synced: 17 Feb 2025
https://github.com/nidhish-nayak/nidhish-blog
My personal blog using Astro framework. Integrated with typescript & preact. A better way of lazy loading images is also implemented for faster render times.
astro blog javascript lazyload-images markdown preact ssr typescript
Last synced: 12 Mar 2025
https://github.com/nidhish-nayak/nayan
Nayan Malkhedkar's portfolio using Astro featuring both portfolio and blog functionalities. Consists of features such as CMS Admin Dashboard to add projects and blogs, personal details on his skills and experience.
astro blog cms javascript markdown mdx portfolio preact scss tailwindcss typescript
Last synced: 12 Mar 2025
https://github.com/dawidprosba/blogpost-hugo-vite-preact-hmr
Example implementation of Vite and Preact with Hugo application
Last synced: 14 Apr 2025
https://github.com/dogma-io/eslint-plugin-react-compat
Make sure your React code is compatible with Inferno and Preact.
compat compatibility eslint eslint-plugin inferno javascript js lint linter linting preact react
Last synced: 25 Jun 2025
https://github.com/ben-wormald/bandcamp-scrobbler
Browser extension for scrobbling albums on Bandcamp to Last.fm
bandcamp browser-extension chrome-extension firefox-addon javascript lastfm preact
Last synced: 06 Apr 2025
https://github.com/nberlette/phlareact
⚛️ preact fork of cloudflare's flareact static framework ☢️
boilerplate cloudflare cloudflare-workers flareact js preact react template
Last synced: 21 Mar 2025
https://github.com/scurker/preact-fetch
A Higher-Order Component (HOC) helper for creating declarative components with fetch.
higher-order-component preact preact-components
Last synced: 28 Mar 2025
https://github.com/godgardensguns/next-lite
Full-featured, minimalist, and opinionated Next.js starter template. Weighs in at 45kb vs Create-Next-App's 71kb
lightweight nextjs preact tailwind tailwindcss template typescript
Last synced: 25 Jun 2025
https://github.com/kr1sp1n/deno-preact-ssr-example
server-side rendering with deno
deno example preact ssr static-site-generator
Last synced: 22 Jun 2025
https://github.com/fredericoo/frederic.ooo
Professional portfolio :)
nextjs preact stitches vercel-deployment
Last synced: 28 Mar 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/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/mttankkeo/typescript-preact-webpack
This is template that is simple start-kit about Preact with Typescript.
lightweight preact spa startkit template terser typescript webpack
Last synced: 05 Apr 2025
https://github.com/kuc-arc-f/express_39preact
Preact.js + express, MPA sample
Last synced: 05 Apr 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/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/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/shredderming/erizabesu
Carousel component built with Preact
carousel preact preact-components
Last synced: 04 Apr 2025
https://github.com/lucat1/quercia-examples
Examples for bootstrapping your next quercia app
examples preact quercia react typescript
Last synced: 24 Jun 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/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/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/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/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/albingroen/sbh
A map over crimes and events in Sweden
google-maps-api polisen-api preact
Last synced: 13 Mar 2025
https://github.com/flashblaze/url-expander
Enter shortened URL to get the original URL
Last synced: 21 Mar 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