Making impossible states impossible: data structures in React

(Jack Franklin) One of the things I like to spend a lot of time on is data structures. It’s one of the first things I think about when building something: what data do I have to work with, and what’s the best format for it to be in?