When to use React.memo, inline functions, and React.useCallback
When should I replace an inline function with React.useCallback? What part does React.memo play? Should I heed the react/jsx-no-bind eslint rule? Here’s how I found the answers to these questions. I…