ReSwift-Router icon indicating copy to clipboard operation
ReSwift-Router copied to clipboard

Setting a Route without Triggering the Router

Open Ben-G opened this issue 9 years ago • 0 comments

In some cases, when UIKit performs a transition that we cannot force through the router, we need to notify the router about the change (also discussed in #17).

In such cases we might want to update the route, without triggering the actual routing. If the transition already happened directly from within UIKit we don't want to trigger another action in the router.

We'll need to add this to the API of the router in form of a new action. Maybe we could call it NotifyOfNewRoute(route).

Ben-G avatar May 12 '16 15:05 Ben-G