reactgrid
reactgrid copied to clipboard
feat(grid): adds "onError" prop to be able to call a function on grid…
Issue: When the grid fails to render (and throws an internal exception), there’s no way to react to that event.
Solution: Add an onError prop that is called within the ErrorBoundary.
It can either return nothing (acting only as a side-effect handler), or return a ReactNode that would be displayed instead of the current predefined error view.
I’m open to changes, but I really need a way to call a function when an error occurs.