-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(routeNode): Inject route (observable) and plainRoute (non-observ…
…able) to wrapped component For consistency with other HOCs of this package I renamed back the injected current route as simply `route`. Additionally now this component injects also a plain non-observable route called `plainRoute` to satisfy all possible use-cases. BREAKING CHANGE: RouteNode HOC previous injected activeRoute is now called route (observable). An non-observable version is also injected and called `plainRoute`.
- Loading branch information
1 parent
5f7fa23
commit 8d6ca7d
Showing
3 changed files
with
50 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters