github molefrog/wouter v2.3.0
Preact 10.0, generic types and missing updates

latest releases: v3.3.5, v3.3.4, v3.3.3...
4 years ago
  • Wouter now is fully-compatible with Preact 10.0! You can install Preact version via npm install wouter-preact #88, thanks @developit
  • Type definitions now support generics, handy if you want to specify a shape of props your component accepts #87, thanks @ArnaudBarre
  • useLocation now also catches updates that may happens between the initial render and useEffect call. See #85
  • Redirect component now uses useLayoutEffect to trigger the update as soon as possible and prevent apps from flicker.

Don't miss a new wouter release

NewReleases is sending notifications on new releases.