addyosmani / addyosmani/preact-hn

Investigate size-savings

Đang mở
#2 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
JavaScript
Star
120
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.