Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
47
If you're used to class components and setState, the useState Hook might be confusing at first. Let's learn more about it in this article.
over a year ago

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

Four years of running a SaaS in a competitive market

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

2 months ago 30 votes
OnlineOrNot Diaries 24

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

4 months ago 52 votes
OnlineOrNot Diaries 23

Working with big systems all day can slow you down.

5 months ago 95 votes
OnlineOrNot Diaries 22

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

6 months ago 75 votes
OnlineOrNot Diaries 21

I was young, and needed to ship...

9 months ago 110 votes

More in indiehacker

Educational Products: Month 8

Highlights The writing techniques I planned last month helped me publish faster and focus better. I need to find more ways to talk to readers about my book. Goal grades At the start of each month, I declare what I’d like to accomplish. Here’s how I did against those goals: Publish two chapters of my book to pre-order readers Result: Published “You’re Qualified to Write a Blog Post” and “Good vs. Bad Content Marketing” Grade: A I completed these chapters and sent them to pre-order customers.

16 hours ago 1 votes
How a rage post with 1M+ views on Reddit became an AI-powered real estate startup

Featured: Exclusive interview with CEO of Zown who is turning hidden real estate fees into buyer cash

4 days ago 5 votes
Which New Language Should I Learn for Web Development?

One of my goals for the year is to learn a new programming language. It’s been a while since I learned a new language, and I feel like a lot of the languages I know well (Go, Python, C++) are similar to each other, so I want to try getting out of my comfort zone a bit with a language that feels weird to me. Requirements Here’s what I’m looking for:

6 days ago 6 votes
How Marc Lou makes millions from great marketing

Marc Lou has made millions of dollars by doing marketing extremely well. Most of his revenue has come from his NextJS boilerplate, ShipFast. As someone remarked on YouTube, it's something any developer could have done. So why was Marc successful? Because he's great at marketing. Here&

a month ago 13 votes
My $6k Advance as a Self-Published Technical Author

I just received $5,947 in advance sales for my first technical book, even though it’s only 25% complete, and I’m self-publishing it. The book is called Refactoring English, and it’s a guide for software developers to improve their writing. In March, I ran a three-week pre-sale for the book on Kickstarter. The pre-sale raised $6,551 from 191 customers. After Kickstarter’s fees, I get $5,946.92, or 91% of the total. Proceeds from my pre-sale on Kickstarter

a month ago 7 votes