Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

window.onerror in utils/state.js throws when the error event carries no Error object (e.g. the benign ResizeObserver loop), so nothing reaches handle_frontend_exception

クローズ 初心者向け
#7,482 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@flcrom がすでに取り組んでいます。

2026年10月11日 から。

  • #7544 @flcrom による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

.web/utils/state.js にコンパイルされるソースファイル(プロジェクトの Web テンプレート配下のテンプレート state.js)から始めて、error.name から info を構築する window.onerror ハンドラを特定します。error == null の場合に message/source/line 引数へフォールバックするガードを追加し、イベントが引き続き handle_frontend_exception に到達するようにします。完了の条件は、null エラーの ErrorEvent(例:無害な ResizeObserver ループ)が TypeError を投げなくなったフロントエンド例外として報告されることです。これには、プロープスクリプト ent_grid/scripts/probe_mantine_pageerror.py または手動でのイベントディスパッチで確認できます。

索引モデルが issue の本文から書いたものです。

説明

Severity: LOW, pre-existing (same code on 0.9.12 and 0.10.0a2).

Opening a mantine MultiSelect and clicking an option fires the benign ResizeObserver loop completed with undelivered notifications ErrorEvent with error=null; the compiled .web/utils/state.js window.onerror handler (info: error.name + …) then throws TypeError: Cannot read properties of null (reading 'name') (at window.onerror (utils/state.js:1195)), which surfaces as a page error and means the original event never reaches handle_frontend_exception. Guard for error == null and fall back to the message/source/line arguments.

Evidence: ent_grid/out/mantine_{dev,prod}_a2/, out/mantine_prod_s912/ (page_errors), ent_grid/scripts/probe_mantine_pageerror.py; finding N-028 in FINDINGS.md.

主要言語
Python
スター
28.9k
フォーク
1.8k
平均マージ
2日 19時間
マージ済み PR(30日)
207

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reflex-dev/reflex のほかの issue

reflex-dev/reflex の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。