React is a declarative UI library, which is to say that the view is a function of current state. The natural inclination is to have your state primitives align closely with the dynamic parts of the UI. I'm going to show that this isn't going nearly far enough. Once you throw user and network events into the mix - and those events have different ideas of "current state", you need to denormalize your state data and derive "current state" based an assortment of event metadata.

Put it All in State
Dec 02 2024

CSharp TV

Once you throw user and network events into the mix - and those events have different ideas of "current state", you need to denormalize your state data and derive "current state" based an assortment of event metadata.