State management is hard, but Nuxt has built-in features that can help you without using any other libraries. useNuxtData is a composable that I've bee using a lot more recently, especially to create optimistic updates.
RESOURCES
useNuxtData docs - https://nuxt.com/docs/api/composables...
state management docs - https://nuxt.com/docs/getting-started...
future useFetch PR - https://github.com/nuxt/nuxt/pull/31373
✅ Join the LearnVue+ Waiting List - https://learnvue.co
Get early access to videos, exclusive content, interactive code challenges, and more.
follow me on twitter
/ mattmaribojoc
#vuejs #vue #javascript #webdev