An open API service indexing awesome lists of open source software.

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%.

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