Closed pgarciacamou closed 5 years ago
noRef
There are two solutions to work around this issue with react-redux.
forwardRef
Either way, react-redux no longer has an issue with an object being passed as a component, in other words, it works with a component that uses forwardRef() as if you did not pass any references using .noRef(). Which is why I am removing this code.
react-redux
forwardRef()
.noRef()
Fixes
Checklist
Short description of what this PR does:
noRef
workaround from APIsThere are two solutions to work around this issue with react-redux.
forwardRef
option: https://react-redux.js.org/api/connect#forwardref-boolean.Either way,
react-redux
no longer has an issue with an object being passed as a component, in other words, it works with a component that usesforwardRef()
as if you did not pass any references using.noRef()
. Which is why I am removing this code.