Managing state in an application full of components can be difficult. Facebook discovered this the hard way and…