holyjs HolyJS 2018 Msc (24.11.2018)

State management beyond the libraries

img

Many battles have been fought over what is the best way to do state management. A gazillion of strategies and libraries are out there. So…​ it is time to take one step back. What problems does state management solve, and what are the benefits and disadvantages of the many different state management approaches out there?

Many battles have been fought over what is the best way to do state management. A gazillion of strategies and libraries are out there. So…​ it is time to take one step back.

Why is state management relevant in the first place? What problems does it solve? For example, many debates are about mutability or immutability. But Michel thinks that the more fundamental question to ask is: identities or values?

With these concepts in mind, we will take a look at several libraries and frameworks and recognize the patterns. We will look at the advantages and disadvantages of different approaches. Finally, Michel will show that those concepts are highly interchangeable with a PoC that will blow your mind. Michel’s goal is to enable you to reason about state on a far more fundamental level, resulting in better system design and earlier recognition of bugs.