-
Notifications
You must be signed in to change notification settings - Fork 34
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
inject实现 #11
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看了下inject的功能,大致意思是将一个store属性注入到action里,有几个小问题想请求教下,为什么不把action和store放在一起,像mob state tree各个功能统一管理;
还有一点不太懂哈,我看了下injec的实现是将target的Symbol属性设置成一个map结构,通过给这个Set结构加属性来实现class的注入,这块debugger了很久,还是没看懂是怎么实现,能帮忙讲解一下吗~~
The text was updated successfully, but these errors were encountered: