Glossary: React Beyond the Basics
pure function
Also written: pure
A function that only builds and returns its result and does nothing else, such as fetching or saving. A reducer must be pure and must not change the old state.
Glossary: React Beyond the Basics
Also written: pure
A function that only builds and returns its result and does nothing else, such as fetching or saving. A reducer must be pure and must not change the old state.