flux-router-component
Advanced tools
Comparing version 0.5.7 to 0.5.8
{ | ||
"name": "flux-router-component", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "Router-related React component and mixin for applications with Flux architecture", | ||
@@ -26,5 +26,7 @@ "main": "index.js", | ||
"query-string": "^1.0.0", | ||
"react": "^0.12.0", | ||
"setimmediate": "^1.0.2" | ||
}, | ||
"peerDependencies": { | ||
"react": "^0.12.0" | ||
}, | ||
"devDependencies": { | ||
@@ -42,2 +44,3 @@ "chai": "^1.9.1", | ||
"precommit-hook": "^1.0.2", | ||
"react": "^0.12.0", | ||
"react-tools": "^0.12.0" | ||
@@ -44,0 +47,0 @@ }, |
@@ -24,7 +24,7 @@ # flux-router-component | ||
An example of such context is the `ComponentContext` provided by [fluxible-plugin-routr](https://github.com/yahoo/fluxible-plugin-routr/blob/master/lib/routr-plugin.js#L36), which is a plugin for [fluxible](https://github.com/yahoo/fluxible). We have a more sophisticated example application, [routing](https://github.com/yahoo/flux-examples/tree/master/routing), showing how everything works together. | ||
An example of such context is the `ComponentContext` provided by [fluxible-plugin-routr](https://github.com/yahoo/fluxible-plugin-routr/blob/master/lib/routr-plugin.js#L36), which is a plugin for [fluxible](https://github.com/yahoo/fluxible). We have a more sophisticated example application, [fluxible-router](https://github.com/yahoo/flux-examples/tree/master/fluxible-router), showing how everything works together. | ||
**Note** that React context is an undocumented feature, so its API could change without notice. Here is [a blog from Dave King](https://www.tildedave.com/2014/11/15/introduction-to-contexts-in-react-js.html) that explains what it is and how to use it. | ||
[//]: # (API_START) | ||
## NavLink | ||
@@ -161,2 +161,3 @@ `NavLink` is the a React component for navigational links. When the link is clicked, NavLink will dispatch `NAVIGATE` action to flux dispatcher. The dispatcher can then dispatch the action to the stores that can handle it. | ||
``` | ||
[//]: # (API_STOP) | ||
@@ -307,2 +308,9 @@ ## History Management (Browser Support and Hash-Based Routing) | ||
## Compatible React Versions | ||
| Compatible React Version | flux-router-component Version | | ||
|--------------------------|-------------------------------| | ||
| 0.12 | >= 0.4.1 | | ||
| 0.11 | < 0.4 | | ||
## License | ||
@@ -309,0 +317,0 @@ This software is free to use under the Yahoo! Inc. BSD license. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39009
321
13
- Removedreact@^0.12.0