Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Information about useCallback in Custom Hooks Documentation #27727

Closed
yuriystasiv opened this issue Nov 18, 2023 · 2 comments
Closed
Labels
Resolution: Stale Automatically closed due to inactivity

Comments

@yuriystasiv
Copy link

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.

Copy link

github-actions bot commented Apr 5, 2024

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!

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Apr 5, 2024
Copy link

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!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Automatically closed due to inactivity
Projects
None yet
Development

No branches or pull requests

1 participant