[go: up one dir, main page]

タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

reduxに関するtasukuchanのブックマーク (2)

  • Try Again: More Redux Saga Patterns

    In my previous article Keep Trying: Redux Saga Style we focused on the ability to have a saga cleanly handle errors and continue to attempt an API call in the event of failure. Although useful, there are other extensions of this pattern that provide a bit more value; let’s take a look at a few. Max TriesThere is one major issue with the autoRestart concept: in the case that an API is completely do

    Try Again: More Redux Saga Patterns
  • React Redux Real World Examples 〜先人から学ぶReact Reduxの知恵〜

    React Reduxを使ってプロダクトを作りはじめて、かれこれ半年くらい経ちます。 しかし、どうもうまく書けていない気がすることがときどきあり、悩んでいたところ、ツイッターで次のような助言をもらいました。 @__tai2__ 達人かどうかは微妙なところがありますが、ある程度の規模のコードはここにリンク集あります https://t.co/B79B5s1DTe — Yuki Kodama (@kuy) 8 December 2016 この記事は、上記のリンク集でまとめられている実際のReact Reduxプロダクトのソースコードを調査することで、筆者がふだんReact Reduxで開発をしていて感じる疑問への答えを探る試みです。 筆者が答えを得たいと思っている疑問は次の3つです 1 Storeはどんな具合に階層化すべきか Store初期化(hydration)用データの定義はどうすべきか

    React Redux Real World Examples 〜先人から学ぶReact Reduxの知恵〜
  • 1