Last active
April 23, 2021 12:52
-
-
Save joboccara/056266f1540415bb7a5c4d91fab14b78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MemoComponent = React.memo(({ onClick }) => { | |
return ( | |
<> | |
<Button onClick={onClick}>Click on the memo</button> | |
</> | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment