Replies: 1 comment
-
@rcarver I experienced the same issues and that is why I went for the first solution in the end. Fingers crossed that the maintainers of this Project will release the new navigations tools soon 🤞 PS: You can find an ongoing discussion about this topic right here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on some onboarding flows that tend to look like this, some state and a set of routes that you move through.
Trying to figure out the best way to scope to
\.route
and then run each case. This works, but is rather awkward. FYI I had to specifyEmptyReducer<Route, Action>
to avoid slow compilation.Another way seems to be using
Scope
for key path, then case path. That looks cleaner, but the compiler is having trouble. 1 case compiles quickly, 2 is ok, 3 is slow, and 4 never completes.Both forms have the potential ordering problem that the 'trailing' style of
.ifLet()
is supposed to avoid.Questions
Side note: this is a tiny nitpick from the new ReducerProtocol style. It's been a joy to use on some new work with very common iOS patterns - onboarding, purchase, settings, etc.
Beta Was this translation helpful? Give feedback.
All reactions