My learning about Pure Components in React.js
What is a pure function?
Pure functions only perform a calculation and nothing more.
A pure function follows these rules:
It never changes any variable or object that existed before the function was called.
For eg.
let variableDeclared = 0;
cons...
techwala.hashnode.dev2 min read