You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the High-order example, it seems we forget to return the enhanced component.
varenhanceComponent=(Component)=>{classEnhanceextendsReact.Component{render(){return(<Component{...this.props}/>)}}// should we return the component here?returnEnhance;}
The text was updated successfully, but these errors were encountered:
In the High-order example, it seems we forget to return the enhanced component.
The text was updated successfully, but these errors were encountered: