Error: Accessing element.ref was removed in React 19. ref is now a regular prop
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- nextjs, react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Tái hiện cảnh báo trong ứng dụng Next.js với React 19 và kiểm tra các mục trong stack của @grapesjs/studio-sdk, đặc biệt là các đường dẫn ia, Ee và _e. Truy vết quyền truy cập element.ref đến một điểm vào của repository và xác minh rằng cảnh báo không còn xuất hiện; issue không nêu tệp nguồn hoặc bài kiểm thử nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- TypeScript
- Star
- 183
- Fork
- 45
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GrapesJS/react
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
My grapejs editor not loaded Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
dev: add nextjs example Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Rendering Custom Trait Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
Tất cả issue của GrapesJS/react
Issue tương tự
-
S: triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
snapshot-labs/stamp#666 ·
-
fix(api): prevent leaderboard SSE heartbeat from starting after disconnect during initial load Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
GauravKarakoti/SecureFlow#1070 · 1 bình luận ·
-
feature:Languages/Translations good first issue ready Web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
digitalfabrik/integreat-app#4394 ·