Relative Content

Tag Archive for javascriptimmutabilitystate-managementreact-state-managementimmer

Issues with nested state updates on mutually related objects using Immer.js: changes not reflecting properly

A partner and I are currently working on a side project that aims at creating a React state management library that uses Immer.js to ensure immutability. The end goal is to be able to handle complex graph based state representations. This first attempt aims at developing a simple system where objects can have parent-child relationships, and updates to one side of these relationship are reflected immutably to the other side of the relationship.