addyosmani / addyosmani/preact-hn

Investigate size-savings

オープン
#2 コメント 0 件 リアクション 1 件 担当者 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 を短くまとめたダイジェスト。