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

131
Vistas
React(16.8.3) document.getElementById() returning null in componentDidMount

After updating Primereact to 8.3.0 document.getElementById() is returning null for div in primereact accordion created in return of jsx. I was able to access the div returned by the primereact accordion in previous version of primereact 3.4.0. React version is same in both cases that is 16.8.3

I would like to know how do I access the div returned from primereact accordion using document.getElementById() in componentDidMount.

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

PrimeReact 8.3.0 requires React 17 or greater and you are using 16.8.3.

See: https://primefaces.org/primereact/setup/

Please note that react >= 17.0.0 and react-dom >= 17.0.0

about 4 years ago · Santiago Trujillo Denunciar
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