useMemo and useCallback | React Hooks Tutorial #9

Pubblicato il: 11 aprile 2021
sul canale di: Philip Fabianek
1,291
42

In this episode of my React Hooks Tutorial, we will learn about the useMemo and useCallback hooks. All those hooks do is improve our application performance by using memoization. While the useMemo hook is used to memoize a value, the useCallback hooks allows us to memoize a function (a callback) that we can pass as a prop to PureComponent to prevent excessive component re-rendering and therefore improve performance.

Starting repository:

https://github.com/philipfabianek/rea...

Ending repository:

https://github.com/philipfabianek/rea...

Timestamps:

►0:00 Introduction
►0:16 Purpose of the useMemo hook
►0:55 Implementing the useMemo hook
►3:09 Purpose of the useCallback hook
►3:49 Implementing the useCallback hook
►5:52 Ending

Social Media:

►Twitter:   / philip_fabianek  
►LinkedIn:   / philip-fabianek  
►Website: http://www.philipfabianek.com
►GitHub: https://github.com/philipfabianek


In questa pagina del sito puoi guardare il video online useMemo and useCallback | React Hooks Tutorial #9 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Philip Fabianek 11 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,291 volte e gli è piaciuto 42 spettatori. Buona visione!