Preact Router Versions Save

:earth_americas: URL router for Preact.

2.4.3

7 years ago
  • Remove use of object rest spread to slim down build and reduce transpiler requirements

2.4.2

7 years ago
  • Added module entry to package.json for webpack 2 / rollup tree shaking
  • Document officially recommended preact-async-route library in the readme
  • Bugfix: Route should forward all URL parameters (#145, thanks @david-nordvall)
  • Add support for <a native> to bypass automatic handling of Anchor elements.
  • Fix compatibility with Preact 8 (detection of preact-created elements changed)

2.4.1

7 years ago
  • Temporarily disables typings

2.4.0

7 years ago
  • Now listens to custom histories properly (#118, thanks @matannoam & @ForsakenHarmony)

2.3.2

7 years ago
  • Better compatibility with ESNext module bundlers like Rollup

2.3.1

7 years ago
  • Add support for Custom History .location property, which is preferred over .getCurrentLocation() (#88 - thanks @iamale, @peter-mouland & @Wykks)

2.3.0

7 years ago
  • Fix issue where redirecting synchronously during routing/rendering would not work (#48)

2.2.0

7 years ago
  • Preliminary support for custom history! Works with react-router-compatible history modules.
  • URLs are now only pushed into the browser history if they are routable by at least one active Router instance.

2.1.0

7 years ago
  • Don't intercept non-preact-created links

2.0.0

7 years ago
  • Stable 2.0 release!
  • Add Boolean static prop that enables shouldComponentUpdate():false optimization
  • Tests ported to Karma and DOM tests added.