---
title: "Discussion on \"Q2. Giải thích cơ chế hoạt động của useMemo và useCallback trong React Native?\" | Hashnode"
description: "Discussion on \"Q2. Giải thích cơ chế hoạt động của useMemo và useCallback trong React Native?\". useMemo và useCallback là 2 hook trong React Native được sử dụng để optimize performance của các component bằng cách memorize lại các giá trị và hàm. Mặc dù cả 2 đều giúp tránh việc tính toán lại không cần thiết, chúng có mục đích sử dụng khác nhau\nu..."
url: "https://hashnode.com/posts/q2-giai-thich-co-che-hoat-dong-cua-usememo-va-usecallback-trong-react-native/66816d3be56f143af687e926"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Q2. Giải thích cơ chế hoạt động của useMemo và useCallback trong React Native?](https://cswithtieu.hashnode.dev/q2-giai-thich-co-che-hoat-dong-cua-usememo-va-usecallback-trong-react-native?utm_source=hashnode&utm_medium=feed)

useMemo và useCallback là 2 hook trong React Native được sử dụng để optimize performance của các component bằng cách memorize lại các giá trị và hàm. Mặc dù cả 2 đều giúp tránh việc tính toán lại không cần thiết, chúng có mục đích sử dụng khác nhau u...

Jun 30, 2024 · 2 min read · cswithtieu.hashnode.dev  
Updated Aug 19, 2024  
Read the article

-   [#react-native](https://hashnode.com/tag/react-native)
-   [#usememo-and-usecallback](https://hashnode.com/tag/usememo-and-usecallback)

## Written by

[Nghia Tieu](https://hashnode.com/@nghiatieu3001)

@nghiatieu3001

  
[View profile](https://hashnode.com/@nghiatieu3001)

CSWithtieu

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
