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-28 00:23:32 UTC
- JSON Representation
https://github.com/herschel666/tweexel-editor
Editor for emoji-based pixel art on twitter.
Last synced: 05 May 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/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/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/dawidprosba/blogpost-hugo-vite-preact-hmr
Example implementation of Vite and Preact with Hugo application
Last synced: 14 Apr 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/stevenfitzpatrick/stevenfitzpatrick.io
My personal homepage
preact pwa styled-components webpack workbox
Last synced: 09 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: 19 Apr 2025
https://github.com/shredderming/preact-prism
Preact syntax highlighting component using prism
highlight preact preact-components prism
Last synced: 27 Feb 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/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/chrisfrank/uninformed
Nostalgically simple forms for React and Preact
ajax-form forms preact react uncontrolled-components
Last synced: 04 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/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/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/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/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/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/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/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/mykalmachon/snakes-on-a-browser
a proof of concept preact app that utilizes WASM python βπ
Last synced: 21 Mar 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/aureleoules/constanceoules
π΄ Front-End of constanceoules.com
Last synced: 06 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/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/davorbadrov/chess-clock
A chess clock made as a PWA app.
Last synced: 27 Mar 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/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/fredericoo/frederic.ooo
Professional portfolio :)
nextjs preact stitches vercel-deployment
Last synced: 28 Mar 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/jarweb/preact-mobx-sample
a sample build by preact and mobx
Last synced: 20 Mar 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/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/vicainelli/vite-starter
javascript preact testing-library testing-library-preact vite vitest
Last synced: 18 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/esperancajs/starter-preact-widget-redux-zero
A 26.6 kb widget starter
preact redux redux-zero webpack
Last synced: 04 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/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/homecodeorg/justorm
Just store manager. Based on Proxy.
preact react state-management store
Last synced: 17 Feb 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/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/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/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/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/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/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/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/awinogradov/xjst-benchmarks
perfomance performance-testing preact react xjst
Last synced: 27 Mar 2025
https://github.com/kr1sp1n/deno-preact-ssr-example
server-side rendering with deno
deno example preact ssr static-site-generator
Last synced: 26 Mar 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/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/imcuttle/react-pizza
The utility for create (p)react component habitat.
independent preact react standalone
Last synced: 06 Apr 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/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/fakundo/react-vld
Simple and flexible validation for React and Preact components
Last synced: 16 Mar 2025
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/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/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/ndom91/terminal-homepage
β¨οΈ Terminal Themed Landing Page
babel netlify pika preact typescript
Last synced: 31 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/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/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/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/ryuapp/preact-ts-tailwind-template
preact tailwindcss typescript vite
Last synced: 19 Apr 2025
https://github.com/hizoul/preact-nativescript-components
JSX-Wrapper for preact-to-nativescript
nativescript preact preact-to-nativescript
Last synced: 16 Mar 2025
https://github.com/aliciusschroeder/localgen-ui
A DALLE-3 web UI that can be exported to a single HTML-file. Useful for accessing features not available via ChatGPT (vivid vs natural style, explicit aspect ratio and more precise prompting) or after hitting usage limits.
dall-e-3 dall-e-api preact shadcn-ui tailwindcss typescript web-ui
Last synced: 07 Dec 2024
https://github.com/andrelmlins/preact-fullscreen
Component that performs fullscreen in DOM Elements
Last synced: 08 Mar 2025
https://github.com/ulivz/rspack-preact-example
Minimal Rspack-powered preact example
Last synced: 27 Mar 2025
https://github.com/therealedsheenan/contempo
Development framework for react
asynchronous eslint flow preact react redux styled-components webpack yarn
Last synced: 16 Mar 2025
https://github.com/ndrean/bau-preat-css
Lightweight CSS-in-JS for Preact based on BauCSS
css css-in-js preact styled-components
Last synced: 31 Mar 2025
https://github.com/aaronksaunders/ionic-preact-capacitor-app
Capacitor Application Running Preact with Ionic Framework Web Components
ionic-capacitor ionic-framework javascript mobile-development preact preact-app web-components web-development webdevelopment
Last synced: 15 Mar 2025
https://github.com/gaetanlegac/5htp
Full Stack Typescript framework designed for developers and users experience.
components convenient cron cronjob forms framework fullstack mysql mysql-database nodejs preact productivity router socket typescript validation
Last synced: 11 Feb 2025
https://github.com/seniorjoinu/typescript-parcel-preact-sass-template
Simple yet powerful
boilerplate parcel parcel-bundler preact react sass template typescript
Last synced: 06 Mar 2025
https://github.com/elsoul/fresh-atom
A lightweight global state management library inspired by Recoil and Jotai, specifically designed for use in Fresh on Deno.
Last synced: 31 Mar 2025
https://github.com/henrhie/jswiggle
Frontend Playgroundπ
coffeescript css esbuild html javascript less playground preact react scss typescript
Last synced: 27 Mar 2025
https://github.com/mhmd-tarek-mhmd/shop
ecommerce firebase mui preact preact-cli preact-router
Last synced: 15 Jan 2025
https://github.com/luncheon/preact-shared-state-hook
Most straightforward way to create shareable state hooks for Preact.
Last synced: 30 Mar 2025
https://github.com/27rogi/agora
πͺ Userscript for Ru-Minecraft website that has lots of options!
gulp js minecraft preact userscript
Last synced: 28 Feb 2025
https://github.com/danyim/webdb
Preact app experimenting with IndexedDB capabilities
Last synced: 19 Feb 2025
https://github.com/mini-templates/fresh
π A minimal Fresh template
deno deno-fresh deno-js fresh fresh-js freshjs preact preact-js preactjs ts typescript
Last synced: 12 Mar 2025
https://github.com/garrrikkotua/dataquestion-landing
Landing page for dataquestion.io built with Astro
Last synced: 23 Mar 2025