Colin Gray
AllSessions
Eastern Time Zone (New York)
August 22, 2024
2:00 pm
Put it All in State
22
August
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.