React + Redux + Routing Stack for 28kb

React + Redux + 路由栈,仅需 28kb。「React + Redux + Routing Stack for just 28kb」

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownermatthewmueller/28kb-react-redux-routing
Primary LanguageJavaScript
Program languageMakefile (Language Count: 2)
Platform
License:
所有者活动
Created At2016-03-04 08:15:08
Pushed At2016-03-05 07:18:27
Last Commit At2016-03-05 14:18:23
Release Count0
用户参与
Stargazers Count244
Watchers Count9
Fork Count17
Commits Count13
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private