Skip to content

Releases: johnpatrickmorgan/TCACoordinators

v0.1.0

13 Jan 22:25
65207da
Compare
Choose a tag to compare
  • Presentation and navigation can now be managed in a single routes array, removing the need for separate PresentationStore and NavigationStore. The new TCARouter can handle both in one.
  • Convenience methods are now extensions on RoutableCollection, so this library no longer needs to duplicate the convenience methods from FlowStacks.
  • 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.