• Stars
    star
    885
  • Rank 51,582 (Top 2 %)
  • Language
  • Created almost 8 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A curated list of amazingly awesome things regarding Preact ecosystem 🌟

Awesome Preact Awesome

A curated list of amazingly awesome things regarding Preact ecosystem 🌟

Preact is a fast 3kb React alternative with the same ES6 API. Components & Virtual DOM.

Contents

Community

Toolkits

  • Preact CLI - Build a Preact Progressive Web App in seconds.
  • Vite - Fast native-ESM powered web dev build tool for Preact, Vue or React.
  • nwb - Quick Development with React, Inferno or Preact.
  • React App Rewire Preact - Use Preact with create-react-app without ejecting.
  • Preact CLI PostCSS - It removes the default postcss config on Preact CLI, so you can use postcss.config.js.
  • Create Preact App - Create Preact apps with no build configuration.
  • Storybook Preact - Storybook for Preact is a UI development environment for your Preact components.

Boilerplates

Routing

  • Preact Router - URL router for Preact.
  • Preact Route Async - A (440b gzip) route component that enables async loading of page-components.
  • Wouter - A tiny (1KB gzip) router for Preact/React with React Router-like API.

Components

Libraries

  • Redux Zero - A lightweight state container based on Redux with a single store and no reducers.
  • Unistore - 350b / 650b state container with component actions for Preact & React.
  • FPreact - Provides an alternative api for creating preact components, heavily inspired by elm.
  • ProppyJS - A tiny library for functional props composition
  • ClearX - Fast & Effortless state management for React, Preact and Inferno with zero learning curve.
  • Preact-urql - Use urql with Preact core + hooks.
  • hooked-head - Hooks to manipulate the <head> section of the DOM. This has a subpackage with core preact support (using preact/hooks).
  • Teaful - Tiny (800B), easy and powerful (P)React state management.
  • Nano Stores - A tiny (199 bytes) state manager with many atomic tree-shakable stores.
  • Modular Forms - Modular, type-safe and signal based form library for Preact.

Testing Utils

  • Preact JSX Chai - JSX assertion testing (no DOM, right in Node).
  • Preact Render Spy - Render Preact components with access to the produced virtual dom for testing.
  • Preact Test Utils - Mock react-test-utils enzyme in preact.
  • Preact Testing Library - Simple and complete Preact DOM testing utilities that encourage good testing practices.
  • Preact Island - Render your Preact component as a widget on any web page with ease.

Articles

Example Apps

Related Libraries

  • React - A declarative, efficient, and flexible JavaScript library for building user interfaces.
  • Inferno - An extremely fast, React-like JavaScript library for building modern user interfaces.
  • Rax - A universal React-compatible render engine.

Tips

Contribute some ;)


Contribution

Your contributions and suggestions are welcome anytime. Build great stuffs with Preact, share with us ;)
Make sure you follow the guidelines. Thank you!


License

CC0

More Repositories

1

preact

βš›οΈ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
JavaScript
36,650
star
2

wmr

πŸ‘©β€πŸš€ The tiny all-in-one development tool for modern web apps.
JavaScript
4,928
star
3

preact-cli

😺 Your next Preact PWA starts in 30 seconds.
JavaScript
4,685
star
4

signals

Manage state with style in every framework
TypeScript
2,105
star
5

preact-router

🌎 URL router for Preact.
JavaScript
972
star
6

preact-compat

ATTENTION: The React compatibility layer for Preact has moved to the main preact repo.
JavaScript
949
star
7

preact-render-to-string

πŸ“„ Universal rendering for Preact: render JSX and Preact components to HTML.
JavaScript
574
star
8

compressed-size-action

GitHub Action that adds compressed size changes to your PRs.
JavaScript
541
star
9

next-plugin-preact

Next.js plugin for preact X
JavaScript
391
star
10

preact-www

πŸ“– Preact documentation website.
JavaScript
358
star
11

preact-custom-element

Wrap your component up as a custom element
JavaScript
356
star
12

prefresh

Hot Module Reloading for Preact
JavaScript
351
star
13

preact-devtools

Browser extension for inspection Preact applications
TypeScript
295
star
14

preset-vite

Preset for using Preact with the vite bundler
TypeScript
256
star
15

eslint-config-preact

Unopinionated baseline ESLint config for Preact and Preact CLI codebases.
JavaScript
85
star
16

enzyme-adapter-preact-pure

Preact adapter for the Enzyme UI testing library
TypeScript
67
star
17

preact-iso

Isomorphic utilities for Preact
JavaScript
55
star
18

preact-ssr-prepass

Drop-in replacement for react-ssr-prepass
JavaScript
47
star
19

create-preact

Create a Vite-powered Preact app in seconds
JavaScript
35
star
20

preact-integrations

A collection of sample apps demonstrating Preact's compatibility with various 3rd party libraries
JavaScript
35
star
21

rfcs

RFCs for changes and ideas in relation to Preact
30
star
22

babel-plugin-transform-replace-expressions

A Babel plugin for replacing expressions with other expressions
JavaScript
23
star
23

jest-preset-preact

Jest preset for testing Preact apps
JavaScript
19
star
24

babel-plugin-transform-rename-properties

A Babel plugin for renaming JavaScript properties
JavaScript
19
star
25

legacy-compat

React 15 compatibility layer for Preact
JavaScript
16
star
26

preact-netlify

Preact's netlify CMS template
JavaScript
15
star
27

playwright-ct

Preact adapter for Playwright Component testing
TypeScript
15
star
28

compat-alias-package

JavaScript
10
star
29

babel-plugin-transform-hook-names

Add custom hook names for devtools
TypeScript
7
star
30

migrate-preact-x

JavaScript
6
star
31

preact-cli-experiment

TypeScript
4
star
32

codesandbox-template

JavaScript
4
star
33

.github

Default community files for the PreactJS organization
3
star