GrapesJS / GrapesJS/react

Error: Accessing element.ref was removed in React 19. ref is now a regular prop

オープン
#37 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
183
フォーク
44
PR マージ指標
30日以内にマージされた PR はありません

説明

Error: Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.
at createUnhandledError (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_523921._.js:689:49)
at handleClientError (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_523921._.js:856:56)
at console.error (http://localhost:3000/_next/static/chunks/node_modules_next_dist_client_523921._.js:991:56)
at Object.elementRefGetterWithDeprecationWarning (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_107ce8._.js:1267:103)
at ia (http://localhost:3000/_next/static/chunks/node_modules_%40grapesjs_studio-sdk_dist_react_es_a7e039.js:4899:22)
at 1 (http://localhost:3000/_next/static/chunks/node_modules_%40grapesjs_studio-sdk_dist_react_es_a7e039.js:4850:24)
at Ee (http://localhost:3000/_next/static/chunks/node_modules_%40grapesjs_studio-sdk_dist_react_es_a7e039.js:4565:41)
at _e (http://localhost:3000/_next/static/chunks/node_modules_%40grapesjs_studio-sdk_dist_react_es_a7e039.js:4845:16)
at yO (http://localhost:3000/_next/static/chunks/node_modules_%40grapesjs_studio-sdk_dist_react_es_a7e039.js:9326:8)
at react-stack-bottom-frame (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:13403:24)
at renderWithHooks (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:2977:24)
at updateForwardRef (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:4638:21)
at beginWork (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:5421:24)
at runWithFiberInDEV (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:631:20)
at performUnitOfWork (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:7955:97)
at workLoopConcurrent (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:7951:58)
at renderRootConcurrent (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:7933:71)
at performWorkOnRoot (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:7565:175)
at performWorkOnRootViaSchedulerTask (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_react-dom_1f56dc._.js:8394:9)
at MessagePort.performWorkUntilDeadline (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_107ce8._.js:2353:64)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Reproduce the warning in the Next.js app with React 19 and inspect the @grapesjs/studio-sdk stack entries, especially the ia, Ee, and _e paths. Trace the element.ref access to a repository entry point and verify the warning no longer appears; the issue names no source file or test.

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

評価

技術スタック
nextjs, react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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