Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

Conversation

@tptee
Copy link
Contributor

@tptee tptee commented May 13, 2016

  • Expose almost all of the API as public. This allows consumers to hook into the history cycle using the newly exported action types (LOCATION_CHANGED, REPLACE, etc).
  • Handle history's state field for location-specific state.
  • The action creators now take the same arguments as their equivalent history functions (either a pathname string or a full location descriptor object).
  • <Link> now has an optional replaceState prop. When true, <Link> will dispatch a replace action instead of a push.
  • Removed the unused historyAction field. This is a breaking change.

…ndardize action arguments; add a replaceState prop to Link to allow for using replaceState instead of pushState; remove unused historyAction field
@coveralls
Copy link

coveralls commented May 13, 2016

Coverage Status

Coverage increased (+0.05%) to 97.015% when pulling 5259ecc on feature/tres-leches into 40228bf on master.

@divmain
Copy link
Contributor

divmain commented May 13, 2016

:shipit:

@tptee tptee merged commit e1da7c4 into master May 13, 2016
@tptee tptee deleted the feature/tres-leches branch May 13, 2016 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants