Why I Didn’t Post for 3 Days — And What I Finally Learned 🔍
Source: Dev.to
Background
For the last 2–3 days I didn’t write any blog post 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.
New Concept: Saving State in the URL with useParams
Today that changed. I finally picked up a concept that actually felt valuable: saving state in the URL using useParams (React Router).
- It isn’t 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 management.
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 Realizations
- Not every learning day produces a blog.
- Some days are for UI work.
- Some days are for experiments.
- Some days finally give you a concept worth sharing.
What’s Next
More practical routing and advanced concepts are coming soon.