react-diff-viewer
react-diff-viewer copied to clipboard
chore: upgrade diff to version 5
trafficstars
Hi there, I'm not sure why but I found out that with diff@5 the lib blazing fast.
My use case is I want to compare 2 files with more than 8k lines and it ends up with a crash of the browser tab.
On my project I used the resolutions field on my package.json to fix the issue:
{
"resolutions": {
"diff": "5.2.0"
}
}