Skip to content
项目

matthewmueller/28kb-react-redux-routing

在 GitHub 查看

关于

React + Redux + Routing Stack for just 28kb

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

React + Redux + Routing Stack for 28kb

Just because your stack is awesome, doesn't mean it has to be fat.

This repo serves as a minimally viable example of how to combine the great ideas of React + Redux without compromising on your build size.

Kilobytes as currency

My goal for this project is to treat kilobytes as a sort of currency.

I'll give you React, Redux and a Routing Stack for just 28kb. What can you offer me?

Heavy frameworks aren't just slow for end users to download, they slow down our transpilers, they are harder to understand internally when the framework inevitably breaks, and they're typically more difficult to extend and make our own.

Behind the Curtain

See for yourself

git clone https://github.com/matthewmueller/28kb-react-redux-routing
npm install
npm start

Kudos

All the hard work here was done by @developit for his work on Preact and @gaearon for his work on redux. The "custom" modules you see above are just a small amount of UX grease on top of great implementations.

探索相关项目

加载中…