-
Is it safe to assume that with getResult being removed from the documentation (rather than a deprecation note added to the documentation) that the intention is that it will be removed for the 4.0 release ? Just figuring out where it needs to live in our project's priorities. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
And in general, why useResult is deprecated? What is the reason? Because this function is very usefull. |
Beta Was this translation helpful? Give feedback.
-
@wreality Yes it will be removed before 4.0 @Luferov It's not that useful anymore now that optional chaining and nullish coalescing operators are available in standard JavaScript. So it makes sense to remove it to cleanup the API a bit. |
Beta Was this translation helpful? Give feedback.
-
This might get a nightmare if you have https://eslint.vuejs.org/rules/no-side-effects-in-computed-properties.html on and try to swap out |
Beta Was this translation helpful? Give feedback.
-
Any reason why undefined is trigger when loading? It is nightmare because all others using the result as a variable for their query will also be triggered when one is loading. How can I bypass the undefined value when using it as a variable of query but not for displaying? |
Beta Was this translation helpful? Give feedback.
@wreality Yes it will be removed before 4.0
@Luferov It's not that useful anymore now that optional chaining and nullish coalescing operators are available in standard JavaScript. So it makes sense to remove it to cleanup the API a bit.