---
title: "Discussion on \"Careful Using setTimeout Within Loops!\" | Hashnode"
description: "Discussion on \"Careful Using setTimeout Within Loops!\". I recently worked on an internal time tracking website using React, TypeScript and Next.js. One of the major features I implemented was a weekly email. This email would go out every Monday at start of business to any employees that had missing time f..."
url: "https://hashnode.com/posts/careful-using-settimeout-within-loops/68bf55f4ed1340676618db46"
---

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

Discussion

# [Careful Using setTimeout Within Loops!](https://aldrichdev.hashnode.dev/careful-using-settimeout-within-loops?utm_source=hashnode&utm_medium=feed)

I recently worked on an internal time tracking website using React, TypeScript and Next.js. One of the major features I implemented was a weekly email. This email would go out every Monday at start of business to any employees that had missing time f...

Sep 8, 2025 · 2 min read · aldrichdev.hashnode.dev  
Updated Oct 24, 2025  
Read the article

-   [#settimeout](https://hashnode.com/tag/settimeout)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#foreach](https://hashnode.com/tag/foreach)
-   [#resend](https://hashnode.com/tag/resend)

## Written by

[Paul Aldrich](https://hashnode.com/@aldrichdev)

@aldrichdev · Chicago, IL

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

Full Stack Developer - React, Next.js, .NET, Sitecore

I am a full-stack developer specializing in React, Next.js, TypeScript, C#, .NET and Sitecore. I love working on back-end as well as front-end, writing documentation, finding solutions to problems, and writing technical blog posts to help others. I've been Sitecore certified and Coveo for Sitecore certified twice.

## Responses 1

Markdown supported · ⌘↵ to post

[Sonu Goswami](https://hashnode.com/@saaswithsonu)

[Sep 9, 2025](https://hashnode.com/posts/careful-using-settimeout-within-loops/68bf55f4ed1340676618db46/comment/68bfdf928f83f45e356e807a)

Smart fix.
