Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
Preact.js
![](https://explore-feed.github.com/topics/preact/preact.png)
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-02-06 00:23:53 UTC
- JSON Representation
https://github.com/bearddan2000/nodejs-web-preact-typescript-router-ssg-eslint-template
A template for the preact framework a superset for react.
eslint nodejs npm preact router ssg template typescript web
Last synced: 29 Jan 2025
https://github.com/albingroen/my-data-dashboard
A personal data dashboard built during Hackjunction 2018.
javascript preact styled-components
Last synced: 20 Jan 2025