which mutates initialReduxStoreState and breaks one of the key Reducer Concepts: reducer should not mutate its arguments.
Either fix it, see Redux - Updating an Item in an Array. Or, if it's intentional, describe reasons why the immutability concept is broken and provide the above link how to make it immutable way.
Page URL
https://handsontable.com/docs/react-data-grid/redux/#simple-example
Improvement description
The Redux example makes data reducer:
which mutates
initialReduxStoreState
and breaks one of the key Reducer Concepts: reducer should not mutate its arguments.Either fix it, see Redux - Updating an Item in an Array. Or, if it's intentional, describe reasons why the immutability concept is broken and provide the above link how to make it immutable way.