Skip to content

Fix: notify parent store when child is marked dirty#5365

Open
dunkyl wants to merge 2 commits intoDioxusLabs:mainfrom
dunkyl:dirty-parent-stores
Open

Fix: notify parent store when child is marked dirty#5365
dunkyl wants to merge 2 commits intoDioxusLabs:mainfrom
dunkyl:dirty-parent-stores

Conversation

@dunkyl
Copy link

@dunkyl dunkyl commented Mar 12, 2026

To address #5363

Too easy to be real?

In practice, I was able to point my more complex app at this PR and its behavior was fixed. I tried to also include some tests to cover basic behavior (do writes spread down, up, and not to siblings?). The additional dev dependencies are for testing convenience.

What I am most unsure about is if StoreSubscriptions is the correct place for this fix, if it might need to instead be moved up into SelectorScope, or if it should be moved down into SelectorNode.

@dunkyl dunkyl requested a review from a team as a code owner March 12, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant