shadaj/slinky

Cannot memoize a forwardRef component

steinybot opened this issue · 0 comments

React.forwardRef returns a FunctionalComponentForwardedRef but there is no conversion to a FunctionalComponent which means it cannot be used in other places like React.memo:

React.memo(React.forwardRef(???))

Also related to this is #505