GrapesJS / GrapesJS/react

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

Ouverte
#37 1 commentaire 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
183
Forks
44
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduisez l’avertissement dans l’application Next.js avec React 19 et examinez les entrées de la pile de @grapesjs/studio-sdk, en particulier les chemins ia, Ee et _e. Suivez l’accès à element.ref jusqu’à un point d’entrée du dépôt et vérifiez que l’avertissement n’apparaît plus ; l’issue ne nomme aucun fichier source ni aucun test.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
nextjs, react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.