Migrating from 4.x to 5.x
Last updated
Last updated
With version 5.0.0, router5
is now a monorepo: all repos have been imported into . This will make maintenance and release of new versions easier.
Not found state is now passed to middleware functions on start: if you use allowNotFound
option and have custom middleware functions, make sure they still work.
router strictQueryParams
option is now false
by default: if you currently don't specify that option, you need to explicitely set it to true
to keep the same behaviour.
browser plugin option preserveHash
is now true
by default
router5.helpers
package has been renamed to router5-helpers
router5.transition-path
package has been renamed to router5-transition-path