---
title: "Discussion on \"Understanding equality of values in JavaScript (+ React useEffect dependencies)\" | Hashnode"
description: "Discussion on \"Understanding equality of values in JavaScript (+ React useEffect dependencies)\". To understand the equality of values in JavaScript, it is crucial to understand the difference between primitive values and special type values."
url: "https://hashnode.com/posts/understanding-equality-of-values-in-javascript/6177d2a1fc34737bf9ab7335"
---

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

Discussion

# [Understanding equality of values in JavaScript (+ React useEffect dependencies)](https://javascript-for-breakfast.com/understanding-equality-of-values-in-javascript?utm_source=hashnode&utm_medium=feed)

To understand the equality of values in JavaScript, it is crucial to understand the difference between primitive values and special type values.

Oct 26, 2021 · 8 min read · javascript-for-breakfast.com  
Read the article

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

## Written by

[Yohann Legrand](https://hashnode.com/@alarid)

@alarid · Brest, FR

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

Freelance Fullstack JavaScript Developer

I have been making websites for more than ten years now, both professionally and for personnal projects, but always with passion and implication. I am fascinated by the evolution of technologies around web development, and I always try to stay up to date with the trending frameworks and libraries.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
