Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: DH-17861: Fix the warning about IrisGridModelUpdater render not …
…being a pure function (#2249) `pendingRowCount` and `pendingDataMap` setters in `IrisGridModelUpdater` were emitting an event in the render cycle, that caused a React warning about the render not being a pure function because the event triggered state update in `IrisGrid`. Wrap the setters in `useEffect` instead of `useOnChange` so the events are emitted after the render.
- Loading branch information