Skip to content

Releases: STRML/react-router-component

0.9.2

08 Dec 01:11
Compare
Choose a tag to compare
  • Fix recalculating router's state on new props

0.9.1

08 Dec 01:11
Compare
Choose a tag to compare
  • Fix hash router to normalize path correctly ('' coerces to '/')

0.9.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Custom routers can now have access to per-navigation params via
    this.state.navigation. For example navigation occurred as a result of
    popstate/hashchange event no has this.state.navigate.isPopState set to
    true.

0.8.0

08 Dec 01:11
Compare
Choose a tag to compare
  • globalHash property for Link to force it to navigate using
    hashEnvironment

0.7.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Router component now waits for async components (via react-async) before
    updating itself

  • remove Hash namespace, use hash prop instead:

    ...

  • RouterMixin now doesn't access this.props.children directly but instead gets
    routes via getRoutes() method

  • rework NavigatableMixin: add getPath(), navigate(path, cb), makeHref(path)
    methods, remove getRouter() method

  • add AsyncRouteRenderingMixin

  • add RouteRenderingMixin

  • Link components now generate valid href when instantiated inside contextual
    routers

  • Link components now accept global prop to create a link which is forced to
    operate outside of a local router's context

0.6.0

08 Dec 01:11
Compare
Choose a tag to compare
  • factor out RouterMixin for reusability
  • expose environment

0.5.1

08 Dec 01:11
Compare
Choose a tag to compare
  • fixes for server side rendering
  • browser test suite refactored to use ReactTestUtils

0.5.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Location now passes all props to its handler (except "path" and "handler"
    which are reserved for Location)

0.4.0

08 Dec 01:11
Compare
Choose a tag to compare
  • Link component can now communicate with the router (of the default
    environment) outside of router context

0.3.2

08 Dec 01:11
Compare
Choose a tag to compare
  • do not pollute history with duplicate entries (breaks forward button
    behaviour)