26 ms·
Mobx uses observables to monitor what properties you read and collections you enumerate during your render method. It then uses that information to implement s
by pknopf 9y ago
Mobx uses observables to monitor what properties you read and collections you enumerate during your render method.
It then uses that information to implement shouldComponentUpdate for you. Each render call refreshes the data use by shouldComponentUpdate.
It gives you 100% percise updating of react components based on state, for free.