Most React components are pure functions, meaning they receive an input and produce a predictable output of JSX.
given the same input, it will always return the same output.
benifits of pure function: predictable, reliable, and easy to test.
Most React components are pure functions, meaning they receive an input and produce a predictable output of JSX.
given the same input, it will always return the same output.
benifits of pure function: predictable, reliable, and easy to test.