Replies: 1 comment 8 replies
-
Hi @katovBash, can you explain a bit more of what the problem is? Is the problem that the reducer is created 4 times, or that its logic is executing 4 times? Also I am going to convert this to a discussion since I do not believe it is an issue with the library. |
Beta Was this translation helpful? Give feedback.
8 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When I'm opening my module that contains different reducers, I have noticed that my new reducers trigger 4 times, but my old one only one time, how I can fix this behaviour?
This is how I'm using my new reducer with old one. Is it bad case to use AnyReducer?
Checklist
main
branch of this package.Expected behavior
Initialise 1 time
Actual behavior
Initialise 4 times
Steps to reproduce
Open module where you have combine reducers, check how many times inits old reducer and new reducer.
The Composable Architecture version information
0.42.0
Destination operating system
iOS 16
Xcode version information
14.0
Beta Was this translation helpful? Give feedback.
All reactions