1. React
  2. React Amsterdam
  3. 2018
  4. There and back again: grokking state and data

Editor's Choice

There and back again: grokking state and data

Get a deeper understanding on the difference between state and data. A deeper understanding of JavaScript itself.

Michel Weststrate at React Amsterdam 2018

Many teams have been discussing on whether to go the immutable or mutable state route. Flux or MVC or MVVM? Redux, MobX or Apollo? Instead of answering the question, in this talk we will look at JavaScript code on a more fundamental level: How do data structures work in JavaScript. What assumptions can be we make if we treat them to be immutable? Or mutable? How can we express concepts like identities, references, collections, mutations, derivations in either case? And can we bent the rules between the two? This talk will provide you a deeper understanding of the difference between state and data. A deeper understanding of JavaScript itself. Which will help you to improve the state you manage, regardless of the library you use to implement that.