You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no shortage of examples (2, 3) of how to handle updating nested structures in Redux, with normalizr:
I have a case where i have a small app with no plans to scale but I don't have any control over the data being loaded in, so there are no entity ids. Here's a simple example that doesn't trigger a state mutation error:
I'm afraid I'm not really clear what you're asking. Also, this looks like a usage question, rather than a bug report or feature request. You're probably better off asking this on Stack Overflow instead.
Hi
There are no shortage of examples (2, 3) of how to handle updating nested structures in Redux, with normalizr:
I have a case where i have a small app with no plans to scale but I don't have any control over the data being loaded in, so there are no entity ids. Here's a simple example that doesn't trigger a state mutation error:
This is in response to data coming back from a form input:
This example does trigger a state mutation error:
Both examples are not easy to maintain, but given the top example passes immutability is it a valid solution?
And using a spread operator is it possible to write this in a less verbose way?
Thank you
The text was updated successfully, but these errors were encountered: