You can pass a state reducer to modify internal state of SpreadSheet Grid. The reducer receives the current state and action and should always return the new state.
This is a handy feature to modify internal state. Internal state is powered by Immer
This is similar to how Downshift manages internal state.