Jun 12, 2025
Docs: https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching
Jun 9, 2025
Struggling to
understand the difference between controlled and uncontrolled
components in React?
In this video, I'll walk you through simple examples of both,
explain when you should use each, and show you the real-world pros
and cons.
📚 What you'll learn:
What a controlled component is
What an...
Jun 2, 2025
TLDR; don't mutate state directly. Always use setState when updating a piece of state. Also, pass a function when updating state based on previous state.