question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When @react-pdf is introduced, a setInterval is added globally, and performance test is performed in chrome devtool, which leads to browser crash

See original GitHub issue

Describe the bug When @react-pdf is introduced, a setInterval is added globally, and performance test is performed in chrome devtool, which leads to browser crash

To Reproduce Steps to reproduce the behavior including code snippet (if applies):

  1. Enter setInterval(() => {}, 100) in REPL; image

  2. Open chrome devtool image

  3. Click the record button image

  4. Crash image

Desktop (please complete the following information):

  • OS: Mac OS Big Sur 11.3
  • Browser: Google Chrome 90.0.4430.19 beta (x86_64)
  • React-pdf: v1.6.13

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
iTsingchencommented, Apr 3, 2021

How can I replicate it without the REPL then?

After the upgrade of chrome(90.0.4430.51), it can no longer be reproduced

0reactions
diegomuracommented, Apr 3, 2021

How can I replicate it without the REPL then?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome setInterval crashes at 10000 ms - Stack Overflow
I'm working on a Javascript stopwatch application, and it works in every browser but Chrome. Here is ...
Read more >
DevTools crashes on a website with large number of ... - GitHub
The actionable work here is to assess what is causing performance issues. For example, you could completely remove the panel rendering, and test...
Read more >
browser methods to clear setinterval Code Example - Code Grepper
program to stop the setInterval() method after five times ... Add a Grepper Answer. Answers related to “browser methods to clear setinterval”.
Read more >
Web constantly crashing when openin devTools
Ever since I got a new computer (with win8 on it), chrome started crashing at least twice every 5 times I pressed F12,...
Read more >
Debugging performance problems in React - LogRocket Blog
Once the application we're using is created with this setting on, you don't have to worry about it. Now, open your Chrome DevTools...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found