This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
Releases: YahooArchive/flux-router-component
Releases · YahooArchive/flux-router-component
Support react 0.13.0 beta
Minor fix: Fix debug name used by RouterMixin
Move react to peerDependencies
Fix NavLink to only navigate on unmodified clicks; Declare contextTypes in RouterMixin
- Fix
NavLink
to only navigate on unmodified clicks, via #66, contributed by @cesarandreu. - Declare
makePath
andexecuteAction
ascontextTypes
inRouterMixin
, so that top level app component that uses RouterMixin does not need to declare them.
Fix propTypes warning
Use makePath/executeAction from React context
In the past, we have required user to pass context
as a prop to the NavLink
component and the component RouterMixin
is applied. Now, NavLink
and RouterMixin
will first look in the React context (i.e. this.context
) for these methods, and fall back to this.props.context
if not found in this.context
.
Code changes are in this PR: #63
Add default navigate type for apps that execute navigateAction programmatically
Fix illegal invocation error
v0.5.3 Release v0.5.3.
Use window.history.pushState.apply()
See details in #58
Scroll Position and Default Hash Route
Manage scroll position on navigation - #54
Check out Scroll Position Management doc for details.
Allow setting default hash route - #55
Check out defaultHashRoute
option in this code example