@navdeep
Full Stack Developer - JavaScript
I am a self taught web developer owning experience of 12+ years in web development field.
I am available for Mentoring, Hackathons & Public Speaking
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...

Early Return Early Return is a pattern that suggests we avoid nested if-else statements by checking the preconditions and return or throw as early as possible. Usually, Early Return is also called Gaurd Clause or Bouncer Pattern. Contrived Example //...
