Since react-redux uses a shallow comparison of props to check if they have changed, which more or less assumes that they are immutable-ish. Pretty reasonable and convenient assumption to avoid diffing, I would support creating a new props object rather than updating an object in place.
Since
react-redux
uses a shallow comparison ofprops
to check if they have changed, which more or less assumes that they are immutable-ish. Pretty reasonable and convenient assumption to avoid diffing, I would support creating a new props object rather than updating an object in place.