https://github.com/developit/preact-compat-example
:speedboat: Demo of preact-compat + react-toolbox to reduce build size by 95%.
https://github.com/developit/preact-compat-example
demo preact preact-demos
Last synced: 30 days ago
JSON representation
:speedboat: Demo of preact-compat + react-toolbox to reduce build size by 95%.
- Host: GitHub
- URL: https://github.com/developit/preact-compat-example
- Owner: developit
- Created: 2015-11-09T04:22:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T15:11:12.000Z (about 8 years ago)
- Last Synced: 2025-04-10T11:16:09.795Z (about 1 month ago)
- Topics: demo, preact, preact-demos
- Language: JavaScript
- Homepage: https://preact-compat-example.surge.sh
- Size: 588 KB
- Stars: 54
- Watchers: 4
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [preact-compat] Example
This is a demo showing [preact-compat] being leveraged to make use of [react-toolbox] library with [Preact] instead of React.
The React-based demo was 1.8mb of JavaScript. This demo, using exactly the same code and with the same functionality, is 60kb - or **14.3kb when gzipped**.
**[Live Demo](https://preact-compat-example.surge.sh)**
[preact]: https://github.com/developit/preact
[preact-compat]: https://github.com/developit/preact-compat
[react-toolbox]: https://github.com/react-toolbox/react-toolbox