You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry if this has already been asked earlier , but i have a prop which can be mutated by 2 reducers. I pull the isFetching variable in my component like the below
when i dispatch a loginRequest - the reducer turns isFetching to true. but the component still doesnt update because its looking at the isFetching variable only from the signUp Reducer.
is there a way i can have the component look at both reducers for the isFetching variable?
Hello,
sorry if this has already been asked earlier , but i have a prop which can be mutated by 2 reducers. I pull the isFetching variable in my component like the below
i have two reducers
when i dispatch a loginRequest - the reducer turns isFetching to true. but the component still doesnt update because its looking at the isFetching variable only from the signUp Reducer.
is there a way i can have the component look at both reducers for the isFetching variable?
Stack overflow suggested that i do this
but is there a better way i can structure my reducers.
The text was updated successfully, but these errors were encountered: