Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin: sync with upstream/mobx #2875 change #65

Open
iChenLei opened this issue Apr 4, 2021 · 1 comment
Open

Pin: sync with upstream/mobx #2875 change #65

iChenLei opened this issue Apr 4, 2021 · 1 comment

Comments

@iChenLei
Copy link
Member

iChenLei commented Apr 4, 2021

需同步 mobxjs/mobx#2875 对应的文档更改

@iChenLei iChenLei changed the title sync with upstream/mobx #2875 change Pin: sync with upstream/mobx #2875 change Apr 4, 2021
@wuxyman
Copy link
Contributor

wuxyman commented Apr 4, 2021

嗯,这句话的上一句: The typical pattern is that you produce the things you need in your side effect in the data function, and in that way control more precisely when the effect triggers.
"典型的模式是在_data_函数中生成在副作用中需要的数据" 如果按照英文这么翻,感觉英文原文的描述不是特别能理解,按文章下边给出的例子来说data函数返回的是被observe的数据,这里的 "produce" 就不贴切吧,看produce我会以为是产生了合成值。pick会不会更妥当,挑选已经存在的值。大家看看是不是我理解有误。 @iChenLei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants