You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
看了下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:
看了下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: