- Preact - drop-in replacement for React: https://preactjs.com/
- bundling with tree-shaking with Rollup
- static typing with TypeScript
- ES5 transpilation with Babel
- preact + preact-compat + redux + react-redux (Bundle)= 13KB!!!
- preact + preact-compat + redux + react-redux + google-map-react (Demo Page) = 27KB!!!
- react + react-dom (same source code) = 138KB
npm i
npm run tsc && npm run build
npm start
Important to use exact dependencies set in package.json, then update each dependency separately because newer preact-plugins can introduce breaking changes and stop this setup from working.
Copyright (c) 2016 Piotr Witek piotrek.witek@gmail.com (http://piotrwitek.github.io)