Closed jrock17 closed 4 years ago
I haven't seen this myself, but it could be to do with (recent?) changes in React. Which version are you running and are you just using the package normally? I assume you're not messing around with refs or anything.
Same here with a slightly different message: Using React@16.12.0
Not doing anything with refs in the component or its parent.
Thanks for the confirmation @ldanet - I probably have to put together a version that's more suited for "new React"!
Sorry for the delayed response. I'm using 16.8.3 and nothing funky with refs.
I think react-timeout is using 'ref' and recent versions of React throw this warning. Here is some info: https://stackoverflow.com/questions/38089895/react-ref-is-not-a-prop
This is keeping me from using this library.
Will look at it shortly.
Thanks a lot @plougsgaard for your efforts. :+1:
Any update on this one? Thanks!
I got the same error, too
Does someone know what needs to be changed in the code in order for the React.forwardRef
to work properly?
As it is now we can have access to the wrapped Class component through component.getWrappedInstance()
though.
Getting this React warning from this component. Any ideas of a fix?