Action.Customer
into state if there are multiple pieces of state holding customer information so that, for example, fetching a Customer from the server with a name that has been updated will update existing state
Ordinarily you'd take the DTO from the API, reduce its values into state, and then the form would make a copy of that state into a mutable object
The first part I understand, reducing the values into the state, but how do I make a copy of the state into a mutable object in the component?
assume I have a state with with a huge array of trades (1000+). The UI is build out of many Fluxorcomponents. All of those components show lists which are build from subsets of the state array.
eg:
When I insert a new trades to the array in the state for performance reasons only affected components should be updated.
Or is this nothing I should be concerned about?
.Where
record
in C# 9 for all your state then object equality is done for you for free