Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LanguageScreen [nfc]: Inline handleFilterChange.
This wasn't doing any real work, and it's a bit less code to inline it. We're not losing the `useCallback`'s optimization here. The `useCallback` doc has a "Note" box, after introducing the example of ``` const [state, setState] = useState(initialState); ``` The "Note" box says, > React guarantees that `setState` function identity is stable and > won’t change on re-renders. [1] https://reactjs.org/docs/hooks-reference.html#usecallback
- Loading branch information