Skip to content

Conversation

@annisann
Copy link
Contributor

@annisann annisann commented Apr 28, 2023

Description

Translate useMemo API Reference on React documentation website to Indonesian.

Tasks

  • Reference
  • Usage: Skipping expensive recalculations
  • Usage: Skipping re-rendering of components
  • Usage: Memoizing a dependency of another Hook
  • Usage: Memoizing a function
  • Troubleshooting: My calculation runs twice on every re-render
  • Troubleshooting: My useMemo call is supposed to return an object, but returns undefined
  • Troubleshooting: Every time my component renders, the calculation in useMemo re-runs
  • Troubleshooting: I need to call useMemo for each list item in a loop, but it’s not allowed

Closes #406

@github-actions
Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@github-actions
Copy link

github-actions bot commented Apr 29, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@r17x r17x merged commit a978257 into reactjs:main May 3, 2023
@r17x
Copy link
Collaborator

r17x commented May 3, 2023

Thanks for the contribution @annisann

@annisann
Copy link
Contributor Author

annisann commented May 3, 2023

My pleasure!! :)

r17x added a commit that referenced this pull request May 8, 2023
Co-authored-by: M Haidar Hanif <[email protected]>
Co-authored-by: RiN <[email protected]>
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.

useMemo

3 participants