Add/with router (#2870)
* Add withRoute HOC Rebased (squashed) - removed routerToProps - updated hoist-non-react-statics - improved propTypes * Expose the whole Router instead of the route. * Make the example simple. * Update examples and the readme. * Add a test case.
Showing
lib/router/with-router.js
0 → 100644
| ... | @@ -72,6 +72,7 @@ | ... | @@ -72,6 +72,7 @@ |
| "friendly-errors-webpack-plugin": "1.5.0", | "friendly-errors-webpack-plugin": "1.5.0", | ||
| "glob": "7.1.1", | "glob": "7.1.1", | ||
| "glob-promise": "3.1.0", | "glob-promise": "3.1.0", | ||
| "hoist-non-react-statics": "^2.2.2", | |||
| "htmlescape": "1.1.1", | "htmlescape": "1.1.1", | ||
| "http-status": "1.0.1", | "http-status": "1.0.1", | ||
| "json-loader": "0.5.4", | "json-loader": "0.5.4", | ||
| ... | ... |
Please
register
or
sign in
to comment