---
title: "Discussion on \"Implement and understand usePrevious hook\" | Hashnode"
description: "Discussion on \"Implement and understand usePrevious hook\". How come useRef in React can be used to keep track of the previous value?"
url: "https://hashnode.com/posts/implement-and-understand-useprevious-hook/66101f4ea2d56c9178ae927f"
---

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

Discussion

# [Implement and understand usePrevious hook](https://tigerabrodi.blog/implement-and-understand-useprevious-hook?utm_source=hashnode&utm_medium=feed)

How come useRef in React can be used to keep track of the previous value?

Apr 5, 2024 · 3 min read · tigerabrodi.blog  
Read the article

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

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
