---
title: "Discussion on \"React Design Patterns\" | Hashnode"
description: "Discussion on \"React Design Patterns\". Hello developers!! While developing apps in React, I'm sure you have come across different use cases which cannot be easy to solve using the same older approach.\nEach use cases demand a different pattern to solve the problem in the most optimised way..."
url: "https://hashnode.com/posts/react-design-patterns/64aae0a17e1235eee5c8a199"
---

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

Discussion

# [React Design Patterns](https://anuradha.hashnode.dev/react-design-patterns?utm_source=hashnode&utm_medium=feed)

Hello developers!! While developing apps in React, I'm sure you have come across different use cases which cannot be easy to solve using the same older approach. Each use cases demand a different pattern to solve the problem in the most optimised way...

Jul 9, 2023 · 5 min read · anuradha.hashnode.dev  
Updated Jul 20, 2023  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)
-   [#components-in-react](https://hashnode.com/tag/components-in-react)
-   [#design-and-architecture](https://hashnode.com/tag/design-and-architecture)

## Written by

[Anuradha Aggarwal](https://hashnode.com/@anuradha)

@anuradha · New Delhi, India

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

Software Developer Engineer II

A software engineer who likes to explore new technologies, problem-solving, build projects, and have a keen interest in Web development.

## Responses 2

Markdown supported · ⌘↵ to post

[Tawaliou ALAO](https://hashnode.com/@Tawaliou)

[Jul 19, 2023](https://hashnode.com/posts/react-design-patterns/64aae0a17e1235eee5c8a199/comment/64b7b163f505b3c66fa3e24e)

Cool article ! But:

-   I think it's not good to have an await for async operations on useEffect like you dit it. May be wrap it in an async function put inside the useEffect
-   I think you could avoid to mess class with function even if it's possible. since the last release of React, it's recommended to use functional component. thanks

[Chimata Manohar](https://hashnode.com/@manohar519)

[Jul 10, 2023](https://hashnode.com/posts/react-design-patterns/64aae0a17e1235eee5c8a199/comment/64abb500a25b102014464399)

Nice ! Thanks for sharing
