Skip to content

Expected state overwrite when calling a async action in child from within parent slice. #2511

Closed Answered by KamaniBhavin
KamaniBhavin asked this question in Q&A
Discussion options

You must be logged in to vote

@dbritto-dev

I see where you're coming from. That's why the title is "behaving as expected." I've identified a workaround by using "get" instead of "set" to call actions in another slice, which internally mutates the state. This seems to resolve the issue of overwriting.

I'll be wrapping up this discussion now. Thanks for the prompt response.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KamaniBhavin
Comment options

Answer selected by dbritto-dev
@dbritto-dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants