universal-router v5.0.0 Release Notes
Release Date: 2017-10-30 // over 6 years ago-
- Skip nested routes when a middleware route returns
null
(BREAKING CHANGE #140)
Migration from v4 to v5:
- If you are using
resolveRoute
option for custom route handling logic then you need to returnundefined
instead ofnull
in cases when a route should not match - 👉 Make sure that your middleware routes which return
null
are working as you expect, child routes are no longer executed in this case, useundefined
instead if necessary
- Skip nested routes when a middleware route returns