Real time collaboration
Built for real-time editing and viewing of Spreadsheets
With a supported real-time back-end, you can have a full collaborative and real-time Spreadsheet. The UI is data agnostic, so both OT and CRDT data structures are supported.
SheetGrid exposes the following prop to highlight users in the canvas grid.
Immer and useSpreadsheetState
If you are using useSpreadsheetState
hook to manage the state of Spreadsheet, Immer is the state library that is used to modify state.
Immer has really good API for JSON patches that is sent over the wire for real-time collaboration. JSON patches also helps in building a robust undo/redo functionality.
onChangeHistory
callback is fired when user modifies state.
Last updated