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

278
Visualizações
Warning: Extra attributes from the server using Custom Web Components

in my company we have a component library build with stencil. And now we want to move some websites to next.js. I created a new next.js project and referenced the needes javascript files for my web-components. The components are displayed but i get the warning: "Warning: Extra attributes from the server [...]" Can someone explain why this occurs and maybe how to tell next.js there is nothing wrong happening?

The full Error is:

Extra attributes from the server: class
    at my-ui-icon
    at a
    at li
    at ul
    at div
    at div
    at div
    at nav
    at div
    at Navbar (webpack-internal:///./components/navbar.js:35:157)
    at div
    at Layout (webpack-internal:///./components/layout.js:37:157)
    at MyApp (webpack-internal:///./pages/_app.js:21:24)
    at ErrorBoundary (webpack-internal:///./node_modules/@next/react-dev-overlay/lib/internal/ErrorBoundary.js:26:47)
    at ReactDevOverlay (webpack-internal:///./node_modules/@next/react-dev-overlay/lib/internal/ReactDevOverlay.js:86:23)
    at Container (webpack-internal:///./node_modules/next/dist/client/index.js:258:5)
    at AppContainer (webpack-internal:///./node_modules/next/dist/client/index.js:754:24)
    at Root (webpack-internal:///./node_modules/next/dist/client/index.js:893:25)

The "class" attribute is in the shadowDom.

about 4 years ago · Juan Pablo Isaza
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