addyosmani / addyosmani/preact-hn

Investigate size-savings

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
120
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Preact is 3KB in size and preact-compat is a little over 3KB in gzipped size. IIRC React is over 40KB gzipped. Here are the break-downs of our dependencies both before and after conversion.

React:

![screen shot 2016-10-16 at 12 16 19 pm](https://cloud.githubusercontent.com/assets/110953/19420142/5eaf2ca0-939a-11e6-8f45-6deafe730d65.jpg)

Preact:

![screen shot 2016-10-16 at 12 15 00 pm](https://cloud.githubusercontent.com/assets/110953/19420138/2ef5f246-939a-11e6-9cba-be98e64906d3.jpg)

Looking at the gzipped savings we're saving a little over 36KB.

I wonder if there are any other savings to be had here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.