Skip to content

State Updates without Emiting #4211

Answered by markerikson
LeonWehrhahn asked this question in Help
Discussion options

You must be logged in to vote

This really sounds like a question of how to design your UI logic and behavior, rather than "update the state without emitting".

Re-rendering the UI based on new Redux state should not wipe out local component state, because that only happens when components are unmounted. If you're seeing that, it suggests that there are other problems with the way you've set up your UI components.

Can you give examples of how these components are being rendered right now?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeonWehrhahn
Comment options

Answer selected by LeonWehrhahn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants