Closed ericmorgan1 closed 1 year ago
Use diffJson to allow diffing JSON objects.
diffJson
To test:
/examples/src/index.tsx
oldValue={oldJson}
newValue={newJson}
ReactDiff
compareMethod={DiffMethod.JSON}
pnpm start:examples
I rearranged the test JSON files to show that order will not matter for the diff.
@Aeolun Please take a look if you can
:tada: This PR is included in version 3.2.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Use
diffJson
to allow diffing JSON objects.To test:
/examples/src/index.tsx
and setoldValue={oldJson}
andnewValue={newJson}
ReactDiff
-compareMethod={DiffMethod.JSON}
pnpm start:examples
I rearranged the test JSON files to show that order will not matter for the diff.