react memo

Using the useCallback React hook

Using the useCallback React hook

  • January 28, 2021

The useCallback React hook is a useful hook that can help in optimizing the rendering performance of our functional React components. It is used to memoize functions which means it caches the return value of a function given a set of input parameters. The syntax As we can see, the...

Using React.memo() in React 16.6

Using React.memo() in React 16.6

  • October 26, 2018

React 16.6 was released a couple of days and and it brings a couple of new features. One of these is React.lazy() which is something that requires a separate post in itself along with React Suspense. The other one, which we will talk about in this post is React.memo(). What...