UNPKG

react-code-compare

Version:

A simple and fast text diff viewer component

18 lines (10 loc) 424 B
# `react-code-compare` A fork of [@praneshr's](https://github.com/praneshr) awesome [react-diff-viewer](https://github.com/praneshr/react-diff-viewer). Adds: 1. Virtual table renderer for large diffs (using [@tanstack/react-virtual](https://tanstack.com/virtual/v3)) 2. React hooks and context API to allow for more flexible rendering and control ## Install ```bash pnpm install react-code-compare ``` ## License MIT