fix: Adding GeoJSON object to payload with useState freezes browsertab
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nuxt, typescript
調査の方向性
packages/devtools-kit/src/runtime/iframe-client.ts から始め、onUpdateReactivity handler とその triggerRef 呼び出しに焦点を当てます。リンクされた StackBlitz を使い、devtools payload panel を開いて addData をクリックして freeze を再現します。devtools が開いている間、GeoJSON オブジェクトを useState に追加しても preview frame が freeze しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
🐛 The bug
In my application I'm storing some GeoJSON object with useState. I've been experiencing some freezes while developing my application. After some while I noticed they only occurred when de nuxt dev tools are open.
To reproduce in the stackblitz:
- Open the dev tools
- Go the payload panel
- Click addData
- The preview frame freezes
In my own application: When I pause script execution in the frozen tab, it seems triggerRef in the handler onUpdateReactivity is being called over and over again.
In the stackblitz I did not find a way to pause the script execution and get meaningful information
🛠️ To reproduce
https://stackblitz.com/edit/github-fkhjhv4b?file=app%2Fapp.vue
🌈 Expected behavior
Adding an GeoJSON to my state while the devtools are open will not freeze the tab
ℹ️ Additional context
No response
- 主要言語
- TypeScript
- スター
- 3.3k
- フォーク
- 214
- 平均マージ
- 19時間 45分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nuxt/devtools のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug needs reproduction
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·