vue-property-decorator
vue-property-decorator copied to clipboard
@ProvideReactive didn't provide a new reactive-value in sibling component instances
Version
8.4.1
Reproduction
https://laomao800.github.io/vue-property-decorator-issue-reproduction/
https://github.com/laomao800/vue-property-decorator-issue-reproduction
Steps to reproduce
On the left side 'Error Sample' block, two <Parent /> components will effects each other. Seems like @ProvideReactive just provide a single instance.
Is that intentional?
What is expected?
Is there any workaround to keep @ProvideReactve works like 'Expect Sample` block ?
Update: I found that v8.2.x didn't get this issue
me too
Update: I found that v8.2.x didn't get this issue woops!
Thanks for this tip, I had very strange issues with 8.4.1 + 8.4.2 and related to routing:
It all worked when loading the page. @InjectReactive + @ProvideReactive...
When I switched to a next step (new route), and came back again, it was completely broken.
Very strange is, that I even have the key-fullPath option, to rerender the components...
<router-view :key="$route.fullPath"
Not 1:1 related to this issue, but wanted to mention this. It all seems to work with V 8.2.2