-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discrepancy in the Examples #25
Comments
Hey, it may be a mistake or a typo on my side the reducer now is a struct, I took this idea from Pointfree composable architecture |
@sergdort I found the same issue. Then you install the library from Swift Package manager you have a different Reducer implementation. I would be so nice if you can update the package |
@VNadygin For now you can use Btw today I figured out, that there is no example with navigating back programmatically 😢 (And I don't know yet how to handle it, yet, so maybe it's not too late to send |
I'm seeing the same thing happening but regarding feedbacks. Pointing to master solved it, thanks @maximkrouk and @VNadygin |
Do I need to publish new version 🤔 |
Also guys I'm a lacking free time lately. So if someone would like to be a maintainer I would love to create an org and move project there |
@sergdort I don't have much nowadays but I'd gladly help out on what i can. |
I have migrated to the composable architecture btw 👽 |
In the lib itself, the Reducer<State, Event> is a typealias, like so:
public typealias Reducer<State, Event> = (inout State, Event) -> Void
In the Examples however, they use a struct, with an init, like so:
` public let reduce: (inout State, Event) -> Void
Where is the truth? :)
Thanks for the work on the library!
The text was updated successfully, but these errors were encountered: