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

152
Views
React Infinite scroll causing browser to crash

I am using react-infinite-scroll-component library to implement infinite scrolling feature and then I am mapping 10 videos at a time after about 50 videos being mapped my browser is crashing. Is there any way to fix this? I am trying to implement tiktok like feature in my website.

This is my map function where I map a video player

{data.map((items,i)=>{
            return (
                 <VideoPlayerShorts
                  loop={true}
                  sources={[
                  {
                    src: items.video_details.trim_video_link,
                    type: "application/x-mpegURL",
                  },
                ]}
              />

This is my infinite Scroll feature

<InfiniteScroll
          dataLength={data.length}
          next={getMoreData}
          hasMore={hasMore}
        > 
</InfiniteScroll>
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!