What is a common mistake when implementing useCallback?
A common mistake when implementing useCallback is not including all dependencies in the dependency array. This can lead to stale closures, where the memoized function captures outdated values from the component's scope. To avoid this, you should include all variables from the component scope that the function uses. ESLint rules like 'exhaustive-deps' can help catch this issue. Another common mistake (represented by option C) is overusing useCallback for every function when it's not necessary, which adds overhead without meaningful performance benefits.