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

108
Views
What is findDOMNode and it is deprecated in StrictMode in console?

I was trying to make a count up using react visibility sensor and react count up, but when I tried to set it up an error shows in the console. Is there a proper way to solve?

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of VisibilitySensor which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

My code is

<div className="App">
 <VisibilitySensor partialVisibility offset={{ bottom: 200 }}>
        {({ isVisible }) => (
          <div style={{ height: 100 }}>
            {isVisible ? <CountUp duration={5} start={0} end={1000} /> : null}
          </div>
        )}
      </VisibilitySensor>
</div>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is an open issue on the react-visibility-sensor repo, but the whole project seems to be not maintained any longer (last commit was in 2019).

I'm not a user of the plugin, but some people suggest moving to react-intersection-observer as an alternative.

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