makeomatic/redux-connect

filter-ed promises not being executed in componentDidMount

开放

#30 创建于 2016年6月16日

 (6 条评论) (0 个反应) (0 位负责人)JavaScript (73 个派生)batch import
bugenhancementhelp wanted

仓库指标

星标
 (550 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南