SSourav-nathintechwala.hashnode.dev·Jul 27, 2023 · 2 min readMy learning about Pure Components in React.jsWhat 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...00