mobx-react@7.x 的使用

mobx-react@7.x 相较于 mobx-react@6.x 有很大改变, api 也有所不同. 因此写法有改变. 另外本例子是基于 react@17.0.1 + react hooks + mobx@6.x + mobx-react@7.x ...