react-polyfill-memo
v1.1.0
Published
React memo polyfill
Downloads
44
Readme
react-polyfill-memo
Polyfill for React new memo api
Support
Usage
import memo from 'react-polyfill-memo';
const MyComponent = memo((props) => {
return <div>{props.text}</div>
});
For more usage, see https://reactjs.org/docs/react-api.html#reactmemo