Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

195
Visualizações
Upgrading to Vue 3: [Vue warn]: Computed property "actions" is already defined in Props

I'm currently migration a Vue 2 application to Vue 3, and for some reason I'm suddenly getting this warning a lot:

[Vue warn]: Computed property "actions" is already defined in Props.

This happens in a bunch of different components, with a bunch of different properties. If I use the Vue devtools to inspect some components, it looks that a lot of components suddenly have computed properties that are not part of that component, but rather are defined on the parent or grandparent. Somehow all computed properties are passed to child components automatically.

I have no idea what's causing this, and I can't find anything about it in the docs. Also it seems that the warning doesn't always trigger (for example after refreshing they might be gone), so I'm thinking if it's some sort of weird bug.

Btw it doesn't seem to break anything so far.

Thanks in advance!

(Ps. I'm using Vite)

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The reason I didn't include any code in my question was because the warning seemed to trigger on many different places / components, and also it seemed to not always trigger, so it was hard to find out what the relevant code was.

I've found that it's an issue with Vue devtools however. When I disable the devtools, I'm not getting the warning. Also noticed that the devtools was slowing down rendering time, not sure if that's related to this issue.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda