Posts for React pure component

Deven
Deven wrote

React pure component – explained

In JavaScript, a pure function will always return the same result in other words Its return value is the same for the same arguments. In React the memo function is used to create React pure components. A pure component in React is a component that always renders the same output, given the same arguments. Let’s […]

December 28, 2020 in Code examples & React