---
title: "Discussion on \"React: running something only after state hook has updated\" | Hashnode"
description: "Discussion on \"React: running something only after state hook has updated\". Hooks in React are great. It's such much easier than the old class method of sending state down to the children - you can just write it all in the component. Except that it doesn't update instantly. It looks like it's instant, but computers work quic..."
url: "https://hashnode.com/posts/react-running-something-only-after-state-hook-has-updated/6071ab468b2b857c0bdb5d14"
---

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

Discussion

# [React: running something only after state hook has updated](https://blog.nicm42.me.uk/react-running-something-only-after-state-hook-has-updated?utm_source=hashnode&utm_medium=feed)

Hooks in React are great. It's such much easier than the old class method of sending state down to the children - you can just write it all in the component. Except that it doesn't update instantly. It looks like it's instant, but computers work quic...

Apr 10, 2021 · 1 min read · blog.nicm42.me.uk  
Read the article

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

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

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

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
