Rom325
Results
2
comments of
Rom325
Hey, everyone! So what is exactly the best way to make forwardRef() work with recompose'd components? F.ex : ``` const Comp = React.forwardRef(({focused, ...rest}, ref) => ); const EnhancedComp =...
Indeed, reading documentation helps! I've found out a way to do this. ``` const Comp = ({focused, forwardedRef, ...rest}) => ); const EnhancedComp = compose( withState('focused', 'setFocused', false), mapProps(({ setFocused,...