⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. (by preactjs)


Basic Preact repo stats
6 days ago

preactjs/preact is an open source project licensed under MIT License which is an OSI approved license.

Preact Alternatives

Similar projects and alternatives to Preact

  • GitHub repo makepad

    Makepad is a creative software development platform for Rust that compiles to wasm/webGL, osx/metal, windows/dx11 linux/opengl

  • GitHub repo kit

    A monorepo for SvelteKit and friends (by sveltejs)

  • GitHub repo Next.js

    The React Framework

  • GitHub repo redux

    Predictable state container for JavaScript apps

  • GitHub repo Svelte

    Cybernetically enhanced web apps

  • GitHub repo Cypress

    Fast, easy and reliable testing for anything that runs in a browser.

  • GitHub repo request

    🏊🏾 Simplified HTTP request client.

  • GitHub repo ramda

    :ram: Practical functional Javascript

  • GitHub repo slate

    A completely customizable framework for building rich text editors. (Currently in beta.) (by ianstormtaylor)

  • GitHub repo SWR

    React Hooks library for remote data fetching

  • GitHub repo react-canvas

    High performance <canvas> rendering for React components

  • GitHub repo UglifyJS2

    JavaScript parser / mangler / compressor / beautifier toolkit

  • GitHub repo pnpm

    Fast, disk space efficient package manager

  • GitHub repo marko

    A declarative, HTML-based language that makes building web apps fun

  • GitHub repo ProseMirror

    The ProseMirror WYSIWYM editor

  • GitHub repo cash

    An absurdly small jQuery alternative for modern browsers. (by fabiospampinato)

  • GitHub repo remark

    Markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

  • GitHub repo htmx

    </> htmx - high power tools for HTML

  • GitHub repo EtherCalc

    Node.js port of Multi-user SocialCalc

  • GitHub repo Rill

    🗺 Universal router for web applications.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Preact alternative or higher similarity.


Posts where Preact has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-12.
  • Google Docs will move to canvas based rendering instead of DOM | 2021-05-12
    Sorry, I should have clarified a bit more — I'm writing a cross-platform desktop application that has a preact[0] frontend (+ a Go backend) using `firefox --app application.ini`.

    I have been experimenting with performant lists (which is why I brought up the XUL tree), though at the moment, I'm only using the XUL menubar element in order to populate the native macOS menubar.

    I am a fullstack web dev in my day job, so my goal here is to write a fast, easily extendable UI that I can quickly iterate upon using modern html/js/css/etc.

    Basically, since I love gecko and used to write XUL add-ons many years ago (I'm already familiar with the internal browser architecture, etc.), I'm using XULRunner (`firefox --app application.ini`, as previously mentioned) as a replacement for Electron.

    I'm basically using XULRunner in the same way spotify uses the Chromium Embedded Framework[1].



  • Is 0kb of JavaScript in your Future? | 2021-05-03
    A year or so ago Jason Miller, creator of Preact, was struggling to put a name on an approach to server rendering that had existed for years but no one was really talking about it. He landed on the Islands Architecture.
  • 🧨Embed p/React app inside any other sites that are made using angular/wp/... | 2021-04-26
    Preact what the heck is that do I need to learn that too ? come one preact is just react nothing else the bundle size of react is reduced by 3x times and created as preact . Check out about preact here you'll find preact as a twin brother of react .
  • React to Elm Migration Guide | 2021-04-25
    React is a library for ensuring your DOM is in sync with your data. However, one could argue it’s a framework in that it provides many fundamentals needed to build applications. There is enough features that you can adopt, that it is a sliding scale. Just want JSX and variables? Cool. Want a Context to emulate Redux? Cool. Want to swap out the render for something like Preact? Cool.
  • ThankYouNext 🖤 - Next.js starter template | 2021-04-24
    I will update this template over time.The most important point for me at the moment is the integration of Preact, since that hasn't worked yet. I would also be interested in your opinion on what else could be added. This template is mainly intended for simple websites and blogs, but has the option to expand and make it more complex at any time.
  • ✨ I redesigned my Portfolio with Next.js and TailwindCSS. | 2021-04-18
    - Preact (production only, still using react for development)
  • What’s an alternative? | 2021-04-16
    Since someone else already hit Vue & Angular, I'll mention Preact. Which is most of react, but smaller.
  • React-like components without react? | 2021-04-15
    Alternatively, if you're mainly worried about bundle size, Preact gives you all the features of React, with React-compatible code, in 3kB. I don't think it'll sufficiently change runtime performance, but it'll definitely help keep your JS tiny. | 2021-04-15
    Preact is a pretty popular react-like library with a much smaller bundle size. Nextjs uses normal react, but allows offloading some or most of the runtime overhead by pre-rendering as a static site or server-side rendering on a nodejs server.
  • #1 Getting started with Preact - Preact Series | 2021-04-03
    Official documentation of Preact
  • Typescript for Nodejs with Express
    Define "significant difference". Full disclosure, I work on Preact, a 3kb VDOM lib that's compatible with the React API in like 1/14 the size. An extra kb can be significant, or it might be nothing. It'll depend on your app.
  • KISS alternatives to RN & Electron | 2021-03-05
    But since my app does not care about accessing native capacities of devices I’m looking for something more minimalist that would not require a big learning effort for my coworkers, I’m thinking after searching the web about using preact and ultralight but I’m not sure it makes my point and I’m open to any suggestions :)
  • jQuery 3.6.0 Released | 2021-03-02
    > and that's the lean alternative to React.

    Ahem | 2021-03-02
    > another one

    Preact [0] came before Vue [1].


  • Kounter, a simple PWA | 2021-03-02
    So instead I chose to make a progressive web app with Preact (basically a lightweight React! 🚀).