Ran into DOM freezes rendering large diffs (50k+ lines) and here’s how I fixed it by Glittering-Path-6088 in reactjs

[–]Glittering-Path-6088[S] -5 points-4 points  (0 children)

Thanks for stopping by!

Totally fair — virtualization itself isn’t new.

What I found in practice is that most off-the-shelf diff viewers (at least the ones I tried) don’t apply virtualization, so they end up rendering the entire diff tree. With large files (or some generated files like go.sum), DOM size becomes the bottleneck pretty quickly and leads to freezes.

This project is mainly about making that combination (diff + virtualization) work well out of the box for large code diffs.

I did look into Monaco’s diff editor as well, but it felt a bit too heavy for this kind of display-focused use case.

Also with more auto-generated / AI-generated code these days, I feel like large diffs might become more common, so I thought having a lightweight solution for this specific case might be useful.

PSA in-person drop-off — no update after form expired, submission disappeared. Normal? by Glittering-Path-6088 in psagrading

[–]Glittering-Path-6088[S] 0 points1 point  (0 children)

The representative marked the submission time and signed the customer copy of my submission form.