React is great for diffing between Virtual-DOM and rendering it to the dom. It also offers a naïve solution for diffing state in terms of setState
. However it is slightly verbose and not easy to scale. MobX offers a very simple and effective solution to manage state in React components.
Code at https://github.com/basarat/mobx-typescript-react 🌹
Where is typescript? There is no typescript here
Indeed TypeScript is very transparent (as it should be) : https://basarat.gitbooks.io/typescript/docs/why-typescript.html 🌹