Skip to content
#

unblocker

Here are 27 public repositories matching this topic...

sincerexie
sincerexie commented Feb 19, 2019

你好!我注意到mobx-react文档里有个注解,如果使用了自定义注入(Customizing inject),则不需要再加observer装饰器,但我看到了本项目中使用了inject mapperFunction的地方,都有加observer装饰器,这是否必要呢?

文档中的注解:

N.B. note that in this specific case neither NameDisplayer nor UserNameDisplayer needs to be decorated with observer, since the observable dereferencing is done in the mapper function

具体地址:[mobx-react#customizing-inject](https://github.com/mobxjs/mo

Improve this page

Add a description, image, and links to the unblocker topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the unblocker topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.