HISTORY_LEARN
was incorrectly running removeForwardItems(). That is only for newly created history.
selectPrevious()
will select previous history entry or return null.findDifferentPage(findFunc)
- Update packages.
- Split out link component.
- Fixed some issues with going back in history.
- Removed
makeHydratable()
in favor ofhistorySession()
reducer. - Removed historyCache in favor of putting everything in redux.
- Update
lodash
to 4.5. getLocationObject
no longer takes defaults. Defaults are applied within thecreate
action.
The Link
component will call onClick function if passed in props.
2016-02-13
The Link
component now parses a location object from a to
or href
string in props using document.createElement('a')
on click. Components can send pathname
, search
, hash
props instead of href
.
Using payload.location
inside reducer instead of a spread on payload. Global location object was being saved instead.
Return state
in reducer early if no action.payload
.
Upgraded lodash dependency from 4.2.1 to 4.3.0.
Added selectActiveKeyDefault()
to public API. This is all it does selectActiveKey(selectHistoryState(state))
.
2016-02-08
Improved locationSerialize
to accept undefined values.
2016-02-07
Initial Release