• Home
  • Blog
  • @itstrueintheory
  • Search
Menu
Topic 1 Post

React

Shimin's Separate Concerns
Page 1 of 1

Why does React's Effect Hook ( useEffect ) Cause an Infinite Loop?

By Shimin Zhang in React on 27 Apr 2021

you used an Effect Hook to fetch some API data... and now your component is stuck in an infinite loop that continuously fetches the data without end... why is it happening??…

Page 1 of 1

Topics

CSS: 11 Programming Career: 11 Best Practice: 7 TailwindCSS: 5 Programming Tips: 5 Gatsby: 4 WordPress: 3 HTML: 3 Performance: 3 JavaScript: 2 Accessibility: 2 Code Review: 2 Web API: 1 Documentation: 1 Hooks: 1 useEffect: 1 React: 1 startup: 1
Shimin's Separate Concerns © 2023 Published with Ghost • Theme Attila