addyosmani / addyosmani/preact-hn

Investigate size-savings

未关闭
#2 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
JavaScript
星标
120
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。