You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May be add new method: pushRoute, appendRoute or ...
Because returning an instance of created route can be useful and I don't want to break backwards compatibility.
Existing interface is a bit annoying when writing new router:
I suppose to return router instance from
addRoute
to allow chaining:Only a bit of sugar, no anything more..
The text was updated successfully, but these errors were encountered: