Double Space Project

← All entries

Exhibit 049 · Documentation

React docs: Components and Hooks must be pure

React docs

If you were to mutate the Hook’s arguments, the custom hook’s memoization will become incorrect, so it’s important to avoid doing that.
1 double space marked in red. Copy the quote and you'll get the real spaces too.
Screenshot of React docs: Components and Hooks must be pure, with the double space marked in red.
Open the full-size photo in a new tab.