---
title: "Discussion on \"React Hooks Masterclass: useState, useEffect, and Custom Hooks\" | Hashnode"
description: "Discussion on \"React Hooks Masterclass: useState, useEffect, and Custom Hooks\". How does React remember information between renders? A component function runs, finishes, and normally its local variables would vanish — yet a counter's value survives across re-renders. Hooks are Re"
url: "https://hashnode.com/posts/react-hooks-masterclass-usestate-useeffect-and-custom-hooks/6a61e449cbae94b6919c56c6"
---

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

Discussion

# [React Hooks Masterclass: useState, useEffect, and Custom Hooks](https://dt89.hashnode.dev/react-hooks-masterclass-usestate-useeffect-and-custom-hooks?utm_source=hashnode&utm_medium=feed)

How does React remember information between renders? A component function runs, finishes, and normally its local variables would vanish — yet a counter's value survives across re-renders. Hooks are Re

Jul 23 · 12 min read · dt89.hashnode.dev  
Read the article

## Written by

[Tamal Sarkar](https://hashnode.com/@dt89)

@dt89 · Kolkata

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
