Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Releases: YahooArchive/flux-router-component

Support react 0.13.0 beta

18 Feb 00:21
Compare
Choose a tag to compare

Minor fix: Fix debug name used by RouterMixin

14 Feb 08:06
Compare
Choose a tag to compare

Move react to peerDependencies

05 Feb 08:23
Compare
Choose a tag to compare

Fix NavLink to only navigate on unmodified clicks; Declare contextTypes in RouterMixin

27 Jan 01:42
Compare
Choose a tag to compare
  • Fix NavLink to only navigate on unmodified clicks, via #66, contributed by @cesarandreu.
  • Declare makePath and executeAction as contextTypes in RouterMixin, so that top level app component that uses RouterMixin does not need to declare them.

Fix propTypes warning

24 Jan 19:37
Compare
Choose a tag to compare

Use makePath/executeAction from React context

24 Jan 06:16
Compare
Choose a tag to compare

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

13 Jan 00:07
Compare
Choose a tag to compare

Fix illegal invocation error

06 Jan 03:23
Compare
Choose a tag to compare
v0.5.3

Release v0.5.3.

Use window.history.pushState.apply()

05 Jan 21:47
Compare
Choose a tag to compare

Scroll Position and Default Hash Route

16 Dec 22:29
Compare
Choose a tag to compare

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