react-codemod icon indicating copy to clipboard operation
react-codemod copied to clipboard

Refs required by react/19/remove-forward-ref

Open RobinClowers opened this issue 9 months ago • 1 comments

When I ran codemod, it made refs required, which seems incorrect.

const PopoverContent = (props: React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
  ref: React.RefObject<React.ElementRef<typeof PopoverPrimitive.Content>>;
}) => ();

RobinClowers avatar Apr 15 '25 00:04 RobinClowers