hoandt
hoandt
Helloo.... same here,
I think it conflicts with ESLint or something. But I'm not sure how to fix it.
I don't know, but I use this, it's fixed: export const A = forwardRef(function A(props, ref) { return .... });
No ideas. I leave them there. > Fixed by adding semi-colons to the end of each display name declaration. `MyComponent.displayName = 'MyComponent';` Nice, but not working for me :(
NO, I was stupid. I redeclared the forwardRef in global.d.types. Remove it and things will work again.... Man.. I'm crying import * as React from "react"; declare module "react" {...
Can you try to find this in your entire project? ``` declare module "react" { ``` or ``` function forwardRef ```