Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

275
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda