route_hierarchical 0.6.1 route_hierarchical: ^0.6.1 copied to clipboard
A client routing library for Dart
v0.6.1 #
Features #
- Added forceReload param to
Router.go
which forces reloading of already active routes.
v0.6.0 #
Features #
- Introduced
reload({startingFrom})
method which allows to force reload currently active routes. - UrlPattern now support paramerter values that contain slashes (
/foo/:bar*
which will fully match/foo/bar/baz
)
BREAKING CHANGE:
The router no longer requires prefixing query param names with route name.
By default all query param changes will trigger route reload, but you can provide
a list of param patterns (via watchQueryParameters named param on addRoute) which
will be used to match (prefix match) param names that trigger route reloading.
A short-hand for "I don't care about any parameters, never reload" is
watchQueryParameters: []
.