Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH] Corrige un warning sur l'usage du nextTick #510

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

yannbertrand
Copy link
Member

🦄 Problème

On importe la dépendance Vue pour utiliser la méthode nextTick. Le linter nous conseille d'importer uniquement la méthode (j'imagine pour du three shaking).

🤖 Proposition

Directement utiliser la méthode wrapper.vm.$nextTick() pour ne pas avoir besoin d'importer quoi que ce soit.

🌈 Remarques

Aucune idée de si c'est une bonne pratique ou non mais ça corrige l'erreur de lint.

💯 Pour tester

Vérifier que la CI passe toujours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants