This repository was archived by the owner on Feb 6, 2025. It is now read-only.
Bug: Combining connect with forwardRef results in wrong warning messages #773
Labels
bug
Something isn't working
Bug report
Hey guys,
wrapping a component in Reacts forwardRef while also connecting ({connect} from frontity) produces warnings about the component not being connected (which it is).
Expected behavior
Warning is not issued.
Observed behavior
Warning is issued:
Steps involved to reproduce the problem
Code is included in the steps involved to reproduce. Should be easy to check.
Info about your system
Node 14.15.0
Possible solution
Omit the warning / check for forwards
The text was updated successfully, but these errors were encountered: