DEV Community

Cover image for Why I Didn’t Post for 3 Days — And What I Finally Learned 🔍
Usama
Usama

Posted on

Why I Didn’t Post for 3 Days — And What I Finally Learned 🔍

For the last 2–3 days I didn’t write any blog or update.

Not because I stopped learning…

but because I wasn’t learning a share-worthy concept.

I was mostly building UI and polishing layouts. Good practice — but nothing deep enough to explain.


Today that changed.

I finally picked up a concept that actually felt valuable:

Saving State in the URL using useParams (React Router).

It’s not exactly a core React Hook —

it belongs to React Router, but it behaves like a hook and solves a very real problem:

How do we keep data inside the URL so navigation, sharing, and refresh don’t break the state?

Understanding it was interesting because:

  • Data flows forward and backward through routes
  • You have to think differently compared to normal state
  • It’s not hard conceptually, but it needs practice

I’d say I understand around 80–85% right now.

The rest will come with real project usage.


Key realization:

Not every learning day produces a blog.

Some days are for UI.

Some days are for experiments.

And some days finally give you a concept worth sharing.

More practical routing and advanced concepts coming soon.

Top comments (0)