The latest React docs note that in React 19, forwardRef is no longer necessary because components can receive ref as a prop.