Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

200
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!