agraboso / agraboso/redux-api-middleware

Handling Data Races

未关闭
#153 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
1.5k
派生
190
PR 合并指标
30 天内没有已合并 PR

描述

I want to build an autocomplete box. One of the requirements is that the user should always receive the latest input. I can throttle the inputs but that only works on a good connection. When I get to 3G network connectivity, I can end up getting multiple responses that may or may not be out of order.

What I need is a hook similar to the bailout, but it gets executed after the request has resolved, but before we dispatch the `REQUEST_SUCCESS` action.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。