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

Feature: 希望可以支持订阅某个model的state变化的能力 #156

Open
lxzy-yun opened this issue Jan 29, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@lxzy-yun
Copy link

希望可以支持订阅某个model的state变化的能力
虽然可以通过useEffect来监听某个state,但是还是更喜欢通过订阅方式的api来实现
目前store.subscribe监听了所有的model改变,无法判断是哪个model下的state变化了

@lxzy-yun lxzy-yun added the enhancement New feature or request label Jan 29, 2024
@xmsz-stu
Copy link

any update?

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

No branches or pull requests

2 participants