This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Replace usage of useContext
with use...
#645
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
Description
Nuxt recommends the use of specific
use...
functions likeuseRoute
,useRouter
,useStore
etc. instead of destructuring fromuseContext
.Additional context
These replacements will smooth the future upgrade to Vue 3 with Composition API.
Resolution
The text was updated successfully, but these errors were encountered: