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

201
Visualizações
Determine if React components have fully loaded (not just the DOM) using Vanilla JS

Edge case here, but what if you want to know that a page has really completed loading external to React code? For instance, you have React components, and you can check for DOMContentLoaded, however, it seems rendering is still occurring even when that event fires.

In Rails, for instance, you might need to check in some other view to determine whether or not React 'managed/rendered' input components have really completed loading and then fire some callback that's outside the scope of React.

Is there no or could there not be some custom event that gets fired when React is "really done"?

Disclaimer: I Googled my brains out on this one and kept being met with, try useEffect, however, this is "how do I do this 'external' to React, so to speak.

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