DEV Community

Sanyam Jain
Sanyam Jain

Posted on

Anti-Patterns (Vue, Nuxt)

  1. Don't fetch data inside watch(). Either it will be fetched multiple times or not once, because mostly the values we watch change frequently.

Top comments (0)