---
title: "Discussion on \"TIL #4: Why React Component re-renders in Strict mode\" | Hashnode"
description: "Discussion on \"TIL #4: Why React Component re-renders in Strict mode\". Today, while doing my day-to-day tasks, I come to observe that my API call in useEffect runs twice, I knew that it was re-rendering because of the local state changes inside the component, but it was not the case, in the first place the useEffect was..."
url: "https://hashnode.com/posts/til-4-why-react-component-re-renders-in-strict-mode/64abb2fa33419f267565a2e1"
---

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

Discussion

# [TIL #4: Why React Component re-renders in Strict mode](https://nsblog.hashnode.dev/til-4-why-react-component-re-renders-in-strict-mode?utm_source=hashnode&utm_medium=feed)

Today, while doing my day-to-day tasks, I come to observe that my API call in useEffect runs twice, I knew that it was re-rendering because of the local state changes inside the component, but it was not the case, in the first place the useEffect was...

Jul 10, 2023 · 1 min read · nsblog.hashnode.dev  
Read the article

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

## Written by

[Navdeep Singh](https://hashnode.com/@navdeep)

@navdeep · Amritsar, India

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

Full Stack Developer - JavaScript

I am a self taught web developer owning experience of 12+ years in web development field.

## Responses 1

Markdown supported · ⌘↵ to post

[Tasha Weeks](https://hashnode.com/@orkableurya)

[Jan 4, 2024](https://hashnode.com/posts/til-4-why-react-component-re-renders-in-strict-mode/64abb2fa33419f267565a2e1/comment/659677cd9315bd3a503dd4bf)

The mainline [mariogames.online](https://mariogames.online/) that are accessible natively on the Nintendo Switch are the easiest to source and play right now, so we recommend starting with those if you are jumping into the series today.

[Halley Victoria](https://hashnode.com/@halleyv)

[Aug 23, 2023](https://hashnode.com/posts/til-4-why-react-component-re-renders-in-strict-mode/64abb2fa33419f267565a2e1/comment/64e5c4dda40e76e689690e11)

Papa's Pizzeria is a video game in which players assist Roy in managing the pizzeria during Papa Louie's absence. [papaspizzeriagame.io](https://papaspizzeriagame.io/)
