preact-compat
preact-cli
preact-compat | preact-cli | |
---|---|---|
2 | 5 | |
956 | 4,678 | |
- | 0.0% | |
1.5 | 6.1 | |
over 2 years ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
preact-compat
-
Don't Optimize Your React App, Use Preact Instead
For react app I used Create React App and for Preact used preact-cli. Preact also gives an option to convert your existing react app to preact using preact-compat, but I have built an app from scratch to see the best result.
-
Next.js: Replace React with Preact
If you use the preact-combat like in the example above then there is very little that isn't supported. For example, PropTypes are not supported in the core but are included in preact-combat.
preact-cli
-
Building a Censorship Resistant Image Uploader
You need a current version of Node.js installed because we use the Preact-CLI and some NPM packages.
-
Can't import web 3
So you either need to define it properly before importing web3 or configure your webpack differently. See here for more details: https://github.com/preactjs/preact-cli/issues/766
-
Help open source communities find and fix vulnerabilities with The Big Fix hacka-fixathon, and get a t-shirt
I am a maintainer for preact-cli, and as the other guy I think was trying to point out, build tools are a particularly big issue in this space.
- Angular Is Rotten to the Core
-
Don't Optimize Your React App, Use Preact Instead
For react app I used Create React App and for Preact used preact-cli. Preact also gives an option to convert your existing react app to preact using preact-compat, but I have built an app from scratch to see the best result.
What are some alternatives?
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
wmr - 👩🚀 The tiny all-in-one development tool for modern web apps.
preact-bundle-test
create-react-app - Set up a modern web app by running one command.
react-rest-dom - Library that allows you to consume Rest APIs through the React DOM.
lcars-moderne - Personal blog CSS theme
kReact - Let's learn React by building react within 100 lines of code
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
vhtml - Render JSX/Hyperscript to HTML strings, without VDOM 🌈
snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️
tsdx - Zero-config CLI for TypeScript package development
hyperapp - 1kB-ish JavaScript framework for building hypertext applications