What is a pure function, and why is it important in JavaScript and React? · ORA·tech