rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

[Bug]: RRWeb times out with large mutations

Open macalinao opened this issue 1 year ago • 1 comments

Preflight Checklist

  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

v2.0.0-alpha.11

Expected Behavior

Page should load in some other way

Actual Behavior

Player creates an error saying there was a timeout in the loop

Steps to Reproduce

Attempt to record this page loading: https://www.basketball-reference.com/leagues/NBA_2024_totals.html#totals_stats::pts

You'd get this warning: [replayer] Timeout in the loop, please check the resolve tree data:

Testcase Gist URL

https://rrwebdebug.com/play/index.html?url=https%3A%2F%2Fgist.github.com%2Fmacalinao%2Fd36075c77cd69db240d35d0bcd41887d%2Fraw%2F03d7cf9a57625d04c529f9f8cfaed626b068cc07%2Fgistfile1.txt&version=2.0.0-alpha.11&virtual-dom=on&play=on

Additional Information

One solution could be to force taking a full snapshot for a full DOM rebuild if the error was encountered.

macalinao avatar Feb 02 '24 16:02 macalinao

We are also experiencing this. In our case it causes our web application to freeze for 5-6 seconds.

Facius avatar Mar 14 '24 06:03 Facius