o2team/wxapp-img-loader

Taro3 似乎不支持

cmzz opened this issue · 2 comments

cmzz commented

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

在taro3中似乎有循环setState的问题

cmzz commented

如果使用shouldupdatecomponent组织更新, mobx则无法兼容

cmzz commented

使用mobx代替state? 倒是可以尝试一下