makeomatic/redux-connect

filter-ed promises not being executed in componentDidMount

Open

#30 创建于 2016年6月16日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)JavaScript (550 star) (73 fork)batch import
bugenhancementhelp wanted

描述

BEGIN_GLOBAL_LOAD/END_GLOBAL_LOAD are dispatched on the client side even when filter stops the asyncConnect from blocking the render function. However, once the component is mounted, since the redux has saved the state loaded as true, it does not fetch the data. Due to this you have to manually redo the logic for re-fetching data in these instances. It would be nice to have some logic to ascertain that the promise is executed in componentDidMount.

贡献者指南

filter-ed promises not being executed in componentDidMount · makeomatic/redux-connect#30 | Good First Issue