react-router 3.1.0-rc.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Router.js +7 -8
- package/lib/Router.js +7 -8
- package/package.json +3 -3
- package/umd/ReactRouter.js +685 -484
- package/umd/ReactRouter.min.js +2 -2
package/es/Router.js
CHANGED
|
@@ -25,14 +25,13 @@ var propTypes = {
|
|
|
25
25
|
|
|
26
26
|
// PRIVATE: For client-side rehydration of server match.
|
|
27
27
|
matchContext: object
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var Router = createReactClass({
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A <Router> is a high-level API for automatically setting up
|
|
31
|
+
* a router that renders a <RouterContext> with all the props
|
|
32
|
+
* it needs each time the URL changes.
|
|
33
|
+
*/
|
|
34
|
+
};var Router = createReactClass({
|
|
36
35
|
displayName: 'Router',
|
|
37
36
|
|
|
38
37
|
propTypes: propTypes,
|
package/lib/Router.js
CHANGED
|
@@ -51,14 +51,13 @@ var propTypes = {
|
|
|
51
51
|
|
|
52
52
|
// PRIVATE: For client-side rehydration of server match.
|
|
53
53
|
matchContext: _propTypes.object
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
var Router = (0, _createReactClass2.default)({
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* A <Router> is a high-level API for automatically setting up
|
|
57
|
+
* a router that renders a <RouterContext> with all the props
|
|
58
|
+
* it needs each time the URL changes.
|
|
59
|
+
*/
|
|
60
|
+
};var Router = (0, _createReactClass2.default)({
|
|
62
61
|
displayName: 'Router',
|
|
63
62
|
|
|
64
63
|
propTypes: propTypes,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "A complete routing library for React",
|
|
5
5
|
"files": [
|
|
6
6
|
"*.md",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"mocha": "^3.2.0",
|
|
80
80
|
"pretty-bytes": "^4.0.2",
|
|
81
81
|
"qs": "^6.2.1",
|
|
82
|
-
"react": "16",
|
|
82
|
+
"react": "^16.0.0-rc",
|
|
83
83
|
"react-addons-css-transition-group": "^15.6.0",
|
|
84
|
-
"react-dom": "16",
|
|
84
|
+
"react-dom": "^16.0.0-rc",
|
|
85
85
|
"rimraf": "^2.5.4",
|
|
86
86
|
"style-loader": "^0.16.1",
|
|
87
87
|
"webpack": "^1.13.1",
|