1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Reactサンプル:redux-sagaとreact-router v4(をv5にしたうえ)でWebAPIの結果に応じて画面遷移させる。(更新情報)

Last updated at Posted at 2020-04-12

約二年前の2018年春頃、redux-saga を使う仕事をしていたときに、

という記事を書いて、時々「いいね(LGTMに変わったようだ)」を頂いたり、あるいは、サンプルコードのコミットログにあるメールアドレスに技術的な問い合わせのメールを頂いたり、teratailでredux-saga関連の質問への回答の中で引用したりしている。先日もteratailで「「Redux-saga」action実行後にリダイレクトしたい」というご質問への回答から上記の記事を参照したが、回答した後に、Githubのレポジトリを確認すると、使用しているNodeモジュールのバージョンの問題で、Security Alertsが出ていたのと、APIとして利用させて頂いている郵便番号APIサービスの仕様が変わっていたので、これらに対応して問題なく動くようにした。(なので、この記事の投稿時には、Security Alertsは消えている。)

対応した点は以下の2点

ここにコメント したとおり、郵便番号住所検索サービス PostcodeJP API にユーザー登録して、取得したAPIキーをapikey の値として書く必要がある。

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?