Skip to content

Releases: STRML/react-router-component

0.19.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Updated url-pattern, supports optional patterns.

0.18.4

08 Dec 01:11
Compare
Choose a tag to compare
  • IE8 compat fixes

0.18.3

08 Dec 01:11
Compare
Choose a tag to compare
  • Made getParentRouter() method optional when implementing new routers.

0.18.2

08 Dec 01:11
Compare
Choose a tag to compare
  • update react-async dep

0.18.1

08 Dec 01:11
Compare
Choose a tag to compare
  • fix IE9 not to use pathnameEnvironment by default (pushState is absent
    there).

0.18.0

08 Dec 01:11
Compare
Choose a tag to compare
  • breaking change Router now only prefetches async state (via react-async)
    if and only if current handler's type is different from next handler's type.

    This now matches the behaviour of getInitialState which is only called once
    for each component instance.

    If you have your async state dependent on props, you need to initiate async
    state update in componentWillReceiveProps(nextProps) by using values from
    nextProps.

0.17.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Add <CaptureClicks> component to capture clicks on <a>-elements and turn
    them into in-app navigation actions. Thanks to Matthew Dapena-Tretter
    (@matthewwithanm on GitHub).

0.16.0

08 Dec 01:11
Compare
Choose a tag to compare
  • RouterMixin now delegates state update to setRoutingState method if it's
    available.
  • AsyncRouteRenderingMixin now provides implementation of setRoutingState
    store pendingState update in router's state.
  • AsyncRouteRenderingMixin now provides hasPendingUpdate() which returns t
    if router has active pendingState. This fixes #23.
  • Handler component is now instantiated during state update.

0.15.3

08 Dec 01:11
Compare
Choose a tag to compare
  • RouterMixin doesn't specify onNavigation/onBeforeNavigation in
    getDefaultProps and thus allows to specify them in user code (#22).

0.15.2

08 Dec 01:11
Compare
Choose a tag to compare
  • Fix bug with require('./environment') using an invalid case.