Controlling your stateless React components

This is a very short summary of React.memo that was introduced in React 16.6 in Oct 2018 and can be used as a wrapper around stateless functional components. Some examples demonstrating stateless functional components are below: import React from 'react'; //nameless default functional component export default (props) => { return <button disabled={props.buttonDisabled}>{props.text}</button> } //named functional … Continue reading Controlling your stateless React components