FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

preact · GitHub Topics · GitHub

#

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
    • <ul>
      
        <li><code class="language-plaintext highlighter-rouge">props</code>, <code class="language-plaintext highlighter-rouge">state</code> and <code class="language-plaintext highlighter-rouge">context</code> are passed to <code class="language-plaintext highlighter-rouge">render()</code></li>
      
        <li>Standard HTML attributes like <code class="language-plaintext highlighter-rouge">class</code> and <code class="language-plaintext highlighter-rouge">for</code> can be used instead of <code class="language-plaintext highlighter-rouge">className</code> and <code class="language-plaintext highlighter-rouge">htmlFor</code></li>
      
      </ul>
      

      Here are 2,556 public repositories matching this topic...

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

      • Updated Aug 17, 2026
      • JavaScript

      The framework so simple, you already know it.

      • Updated Aug 2, 2026
      • TypeScript

      An online IDE for rapid web development

      • Updated Jul 15, 2026
      • JavaScript

      ✨ Create server-rendered universal JavaScript applications with no configuration

      • Updated Mar 11, 2024
      • JavaScript

      🥢 A minimalist-friendly ~2.2KB routing for React and Preact

      • Updated Aug 10, 2026
      • TypeScript

      Gitalk is a modern comment component based on Github Issue and Preact.

      • Updated Jul 5, 2026
      • JavaScript

      A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)

      • Updated Feb 15, 2025
      • JavaScript

      A blazing fast React alternative, compatible with IE8 and React 16.

      • Updated Mar 29, 2021
      • JavaScript

      ⚡A zero-config bundler for JavaScript applications.

      • Updated Dec 6, 2021
      • JavaScript

      👩‍🚀 The tiny all-in-one development tool for modern web apps.

      • Updated Mar 19, 2024
      • JavaScript

      CLI for creating reusable react libraries.

      • Updated Apr 4, 2023
      • JavaScript

      😺 Your next Preact PWA starts in 30 seconds.

      • Updated Mar 27, 2024
      • JavaScript

      Manage state with style in every framework

      • Updated Aug 17, 2026
      • TypeScript

      Zero-config PWA for Vite

      • Updated May 5, 2026
      • TypeScript

      Create and build modern JavaScript projects with zero initial configuration.

      • Updated Feb 3, 2024
      • JavaScript

      🎨 A tiny (2,8 KB) color picker component for React and Preact apps

      • Updated Jul 13, 2026
      • TypeScript

      🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API

      • Updated May 13, 2026
      • JavaScript

      Released November 14, 2015

      Latest release 19 days ago

      Followers
      38 followers
      Repository
      preactjs/preact
      Website
      github.com/topics/preact

      Related topics

      hmr jsx react ssr virtual-dom

      Back | FazBrowse Home | New Git URL