---
title: "Discussion on \"An overview on react hooks useMemo and useCallback.\" | Hashnode"
description: "Discussion on \"An overview on react hooks useMemo and useCallback.\". Hello everyone,\nHooks play a major role when we switch from class components to functional components in react. Hooks let you split one component into smaller functions based on what pieces are related (such as setting up a subscription or fetching d..."
url: "https://hashnode.com/posts/an-overview-on-react-hooks-usememo-and-usecallback/60afb78c5c02001765cf47b5"
---

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

Discussion

# [An overview on react hooks useMemo and useCallback.](https://shrey027.hashnode.dev/an-overview-on-react-hooks-usememo-and-usecallback?utm_source=hashnode&utm_medium=feed)

Hello everyone, Hooks play a major role when we switch from class components to functional components in react. Hooks let you split one component into smaller functions based on what pieces are related (such as setting up a subscription or fetching d...

May 27, 2021 · 7 min read · shrey027.hashnode.dev  
Updated Jul 6, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Shrey Pandey](https://hashnode.com/@shrey027)

@shrey027

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

Full stack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
