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

Documentation Update: Explaining React.memo and useMemo with Examples #736

Closed
wants to merge 1 commit into from

Conversation

ripu2
Copy link

@ripu2 ripu2 commented Oct 1, 2024

This pull request adds comprehensive and beginner-friendly documentation for React.memo and useMemo to enhance understanding of memoization in React. The new documentation includes:

  1. Detailed explanations of what React.memo and useMemo are, their use cases, and when to apply them.
  2. Practical examples demonstrating how to implement these features effectively in a React application.
  3. Best practices for optimizing performance with memoization.
  4. References to external resources and walkthrough videos for further learning.
  5. This enhancement aims to support developers in leveraging memoization techniques to improve application performance and provide clarity on these important React features.

@filiptammergard
Copy link
Collaborator

Thanks for suggestion, but React.memo is not specific to React+TypeScript, so it's better to just look in the official React docs. In this project we only document things that are directly related to how to use TypeScript with React.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants