Releases: johnpatrickmorgan/TCACoordinators
Releases · johnpatrickmorgan/TCACoordinators
v0.1.0
- Presentation and navigation can now be managed in a single routes array, removing the need for separate
PresentationStore
andNavigationStore
. The newTCARouter
can handle both in one. - Convenience methods are now extensions on
RoutableCollection
, so this library no longer needs to duplicate the convenience methods fromFlowStacks
. - Large-scale navigation updates can now be made within an
Effect.withDelaysIfUnsupported
call, and will be broken down into smaller updates that SwiftUI supports. This works around a limitation in SwiftUI that only allows one screen to be pushed, presented or dismissed at a time. - Cancellation of in-flight effects is now managed as part of
withRouteReducer
function, which ensures effects are tagged for cancellation before combining with the reducer that updates routes. This fixes a bug where long-lived effects initiated by the coordinator would be cancelled if they were triggered by a screen that has been dismissed.