You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Making sense, implemented. isNativeCompositionAPI might be a good idea, but I feel vue-demi is already a bit overwhelming. Since we can have the info via version, let's use it for now.
Clear and concise description of the problem
@vue/composition-api
has a limitation that preventsextendRef()
to be used but this is not the case for Vue 2.7Suggested solution
I think vue-demi could expose a variable
isNativeCompositionAPI
or similar.Even without that, using
import { version } from 'vue'
should work in most cases to check if it's vue >= 2.7 and allow usingextendRef()
.Alternative
No response
Additional context
Validations
The text was updated successfully, but these errors were encountered: