分享自己写的简单react-router

#1

地址: https://github.com/liuhong1happy/similar-react-router

特点:

  1. similar-react-router采用ES6写法,推荐使用webpack打包,loader采用babel-loader。

  2. require引入react方式,可以兼容IE8。

  3. 高度模仿react-router组件,采用hash实现,使用便捷。

1 Like
#2

0.2.0 版本新增redux示例。