WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Since the component in question doesn't have it added at all, it's actually adding it to the parent, and not the sibling.

So the one that runs first tries to find it, can't and so updates the parent, and the second sees it on the parent and updates that.

Generally speaking, if you want a component to scope a key, you need to put that key on that component.

also, the property is still reactive. Even properties added after the fact are reactive.

I don't know why the original implementation of the merged datastack defaulted to assigning to the top of the stack and not the bottom, but I just tried to maintain that behavior when I refactored it all.

Replies: 1 comment 1 reply

Comment options

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

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