---
title: "Discussion on \"Modernizing Old React Patterns With React Hooks\" | Hashnode"
description: "Discussion on \"Modernizing Old React Patterns With React Hooks\". Learn how to replace HOCs, render props and container components with custom React hooks."
url: "https://hashnode.com/posts/modernizing-old-react-patterns-with-react-hooks/63c42230180d3bce72a23627"
---

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

Discussion

# [Modernizing Old React Patterns With React Hooks](https://codefrontend.hashnode.dev/modernizing-old-react-patterns-with-react-hooks?utm_source=hashnode&utm_medium=feed)

Learn how to replace HOCs, render props and container components with custom React hooks.

Jan 15, 2023 · 6 min read · codefrontend.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Vincas Stonys](https://hashnode.com/@VincasStonys)

@VincasStonys · Lithuania, Vilnius

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

Teaching React After Basics

Helping junior devs build their first app with React and succeed in their career. Follow me for regular web development tips.

## Responses 1

Markdown supported · ⌘↵ to post

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Jan 18, 2023](https://hashnode.com/posts/modernizing-old-react-patterns-with-react-hooks/63c42230180d3bce72a23627/comment/63c823a3a26f687e4e56d67c)

Great cases, Vinacas!

I can't wait for the native promises in React so we can get rid of the `useEffect` to populate the state and render the component directly!

[Vincas Stonys](https://hashnode.com/@VincasStonys)

[Jan 18, 2023](https://hashnode.com/posts/modernizing-old-react-patterns-with-react-hooks/63c42230180d3bce72a23627/comment/63c823a3a26f687e4e56d67c#reply-63c82a33afd2f07b22630cc9)

Indeed, had a taste of it with next.js 13 and it's a pleasure to work with.

[Ákos Kőműves](https://hashnode.com/@akoskm)

[Jan 18, 2023](https://hashnode.com/posts/modernizing-old-react-patterns-with-react-hooks/63c42230180d3bce72a23627/comment/63c823a3a26f687e4e56d67c#reply-63c832fdafd2f07b22630dd0)

Yes! Same for me!
