Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

redux-effects-stepsでの利用方法についてwikiに追記する #371

Open
dorayakikun opened this issue Mar 29, 2019 · 0 comments
Open

Comments

@dorayakikun
Copy link
Contributor

以下のような呼び出しをする理由を追記する

  return steps(
    fetchItemsRequest({ resource: "hackerNews", params: { page } }),
    ({ payload }) => fetchrRead(payload),
    [fetchItemsSuccess, fetchItemsFail],
  );

fetchItemsRequest action creatorで { resource: "hackerNews", params: { page } } を渡さないと、redux-dev-toolsでトレースすることができない

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant