5
1

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 1 year has passed since last update.

React Developer Toolsで Strictモードで2回ログ出るのを消す設定

Posted at

概要

React Developer Toolsを使っていて、StrictModeが有効になっているとconsole.log()などでデバッグした際に、2個同じ値が出てしまうのが鬱陶しかったので、無効にしてみたら快適でしたって記事ですw

早速ささっと画像で順序説明。

  1. React Developer Toolsのタブで、歯車マークを押す
    スクリーンショット 2023-11-10 18.36.46.png

  2. Hide logs during second render in Strict Modeにチェックを入れる
    スクリーンショット 2023-11-10 18.37.36.png

終わり。

5
1
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
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?