issue: Warning: Cannot update a component (`DevTool`) while rendering a different component.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
調査の方向性
Start with the linked CodeSandbox and its App.tsx component, reproduce the console warning on version 7.51.3, and compare it with 7.51.0 and 7.51.1. Trace the reported DevTool update during rendering and verify that the warning is absent in the affected version when the issue is resolved.
索引モデルが issue の本文から書いたものです。
説明
Version Number
7.51.3
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/nervous-nova-mjw92s?file=%2Fsrc%2FApp.tsx
Steps to reproduce
- Go to Sandbox
- See console
Expected behaviour
This warning is not present on 7.51.0 but is in 7.51.1 and current.
There should not be any warning.
What browsers are you seeing the problem on?
Chrome
Relevant log output
Warning: Cannot update a component (`DevTool`) while rendering a different component (`Unknown`). To locate the bad setState() call inside `Unknown`, follow the stack trace as described in https://fb.me/setstate-in-render
in Unknown (at App.tsx:47)
in form (at App.tsx:40)
in div (at App.tsx:34)
in App (at src/index.tsx:7)
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要言語
- TypeScript
- スター
- 670
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-hook-form/devtools のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
react-hook-form/devtools#234 · コメント 1 件 · リアクション 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
react-hook-form/devtools#226 · リアクション 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
react-hook-form/devtools#223 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
react-hook-form/devtools#212 · コメント 5 件 · リアクション 8 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
react-hook-form/devtools#207 · コメント 6 件 · リアクション 1 件 ·
react-hook-form/devtools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·