Skip to content

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.

Where the book teaches it

Related terms

reducer