Redux - ReactJS app does not rerender (although JSON.parse for new object) Redux - ReactJS app does not rerender (although JSON.parse for new object) reactjs reactjs

Redux - ReactJS app does not rerender (although JSON.parse for new object)


In ReactJS you can not mutate the state directly. It is the same in Redux. You have to copy the existing info. Redux compares the current tree with new information if founds the difference then it updates the store and renders the new result. If mutating directly you will always refresh to have it working.

More info

Immutable Update Patterns