You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: It would be beneficial to add information about the importance of using useCallback for functions within Custom Hooks on the page dedicated to Custom Hooks documentation.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
The documentation on using Custom Hooks (https://react.dev/learn/reusing-logic-with-custom-hooks) lacks information about the recommended use of
useCallback
for any functions within Custom Hooks. The relevant details can be found here: https://react.dev/reference/react/useCallback#optimizing-a-custom-hook.Suggestion: It would be beneficial to add information about the importance of using
useCallback
for functions within Custom Hooks on the page dedicated to Custom Hooks documentation.The text was updated successfully, but these errors were encountered: