Full Width [alt+shift+f] FOCUS MODE Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
73
useEffect's clean-up function can be pretty confusing, especially if you're still trying to think in lifecycle methods. Let's clarify the clean-up function in this article.
over a year ago

Comments

Improve your reading experience

Logged in users get linked directly to articles resulting in a better reading experience. Please login for free, it takes less than 1 minute.

More from Max Rozen

OnlineOrNot Diaries 25: you can just build things

You *can* just build things.

3 weeks ago 18 votes
Four years of running a SaaS in a competitive market

Looking back on the last four years, what worked, what didn't.

5 months ago 54 votes
OnlineOrNot Diaries 24

Looking over last year, and a first incident for 2025.

7 months ago 76 votes
OnlineOrNot Diaries 23

Working with big systems all day can slow you down.

8 months ago 119 votes
OnlineOrNot Diaries 22

Feels like I've already said everything I had to say

9 months ago 95 votes

More in indiehacker

OpenAI’s Latest Paper on Hallucinations Is Embarrassing

It's either an admission of massive incompetence or being the greatest illusionists of all time. The post OpenAI’s Latest Paper on Hallucinations Is Embarrassing appeared first on Scott DeLong.

4 hours ago 1 votes
Bootstrapping two SaaS with a day job

Kourosh is a self-taught developer who is running 2 SaaS businesses while working a full-time job in tech.

yesterday 5 votes
Skip the 5-day wait: Get UX insights in minutes

Featured: Exclusive interview with founders of Uxia who are making user testing accessible to teams of any budget

2 days ago 9 votes
The Soul-Crushing AI Illusion Stealing Your Success

It's hiding in plain sight, and it was stealing my motivation for months, paralyzing my mind. The post The Soul-Crushing AI Illusion Stealing Your Success appeared first on Scott DeLong.

4 days ago 12 votes
From burnout to building a B2B SaaS

In 2023, I interviewed Benjamin about building a successful language learning app. But Benjamin got tired of the B2C world

a week ago 12 votes