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

199
Views
<img> - loading='lazy' vs Intersection Observer?

I'm building a React app which is very image heavy, all from API calls. I've got loading='lazy' on all of them but it got me wondering if more can be done? I know you can achieve a similar result using intersection observers and only rendering them when in view.

My question is better/are there any further benefits to implementing intersection observers, or will it be a waste of time since loading='lazy' does enough?

Thanks!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

They do the same, if you want to load the image whenever it enters the viewport, Intersection Observer Give more control, For example, may you want to load the image when the image is at bottom of the viewport by let's say 100px, or you may want to do another action with the image beside be loaded.

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!