Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const ComponentC = React.memo(({ name }) => {
console.log("Component C is rendered :" + name)
return <h1>Hello , {name}</h1>;
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment