react-diff-viewer icon indicating copy to clipboard operation
react-diff-viewer copied to clipboard

A simple and beautiful text diff viewer component made with Diff and React.

Results 88 react-diff-viewer issues
Sort by recently updated
recently updated
newest added
trafficstars

In our project, we had a compatibility issue with the current emotion versions installed in the project and other dependencies after upgrading to MUI 5 and React 17. I would...

With npm version > 7 you can't use the package without `--legacy-peer-deps`

Update Peer Dependencies for React

the library now depends on react 15 & 16. it doesn't work under react 17. I am wondering is there any plan to upgrade the dependency?

Bumps [terser](https://github.com/terser/terser) from 4.1.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...

dependencies

How to enable comments please give an example

Is it possible to add the inline comments , how can we customize the library

Add support to display JSON diff, since a JSON diff can be different from normal diff. Use `diff.diffJson()` for comparison & diff arr.

Firstly, `react-diff-viewer` inserts the `` tag to render CSS styles, but in some cases (such as Micro-Frontends, I'm using [qiankun](https://qiankun.umijs.org/guide) framework), the code styles will be lost: ![image](https://user-images.githubusercontent.com/38221479/171546613-47f3a4fb-589a-4359-9542-16484700fc5d.png) So I...