/preact-compat-example

:speedboat: Demo of preact-compat + react-toolbox to reduce build size by 95%.

Primary LanguageJavaScript

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