forwardref
1 trace
- Accessing element.ref is no longer supported. ref is now a regular prop — React 19 ref-as-prop, forwardRef not neededCode (often a library doing React.cloneElement / reading child.ref) logs Accessing element.ref is no longer supported. Fix: TypeScript: type it as a prop, e.g.