Closed
Description
Describe the bug
using onResult hook, when the exact same query is also used within another component, will only be executed within one component. I'm not 100% sure if this is a bug but if not, it should be probably mentioned in the docs.
To Reproduce
- create two components using the same query
- add onResult() hook two both of them
- render both components at the same time
- onResult() will be triggered only once, not in both components
Expected behavior
- onResult shall be triggered in all components where used
Versions
vue: 2.6.12
@vue/apollo-composable: 4.0.0-alpha.12
@vue/apollo-util: 4.0.0-alpha.6
@vue/composition-api": 1.0.0-beta.25,