react-datasheet is a React component for creating Excel-like spreadsheet grids with cell selection, copy/paste, keyboard navigation, and custom renderers. Version 1.4.12 is the latest stable release, but the project is no longer under active development (abandoned). It supports React 16+, provides TypeScript types, and includes callbacks like onCellsChanged for grid editing. Compared to alternatives like react-spreadsheet-grid or handsontable, react-datasheet is simpler, lightweight, and has minimal dependencies. No releases in years; maintenance ended.
npm install react-datasheetNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic spreadsheet grid with edit cells via onCellsChanged callback, including CSS import.
Consider migrating to actively maintained alternatives.
Use import 'react-datasheet/lib/react-datasheet.css'
Use TypeScript to enforce types at compile time.
Install package: npm install react-datasheet. Ensure TypeScript can resolve types (types included).
Add import 'react-datasheet/lib/react-datasheet.css' to your entry point.
Ensure onCellsChanged prop is passed as a function: onCellsChanged={changes => {...}}