v2.0.0-rc.5
Pre-release
Pre-release
New
- Route config
redirectoption now supports using a function, which receives the target route as the argument and should return redirect destination. See example. (@fnlctrl) - The
redirectoption's value can now be any valid location descriptor. By default, thequeryandhashof the original route will be passed along to the redirected route - however they can now be explicitly overwritten by theredirectoption when using the object location descriptor (or by returning it from a function).