需求:页面和其上的一个抽屉页 mount 时需要 dispatch 同一个 effects 来获取下拉框 options
问题:打开抽屉后,应用会循环 render (可能是 state 更新死循环),我复写一套 effects 和 state 来 workaround 了(现在 state 有 ops 和 drawerOps ,effects 有 getOps 和 getDrawerOps ),请问有没有更好的方法?
问题:打开抽屉后,应用会循环 render (可能是 state 更新死循环),我复写一套 effects 和 state 来 workaround 了(现在 state 有 ops 和 drawerOps ,effects 有 getOps 和 getDrawerOps ),请问有没有更好的方法?