The Benefits of Learning in Public Spaces

Armaan SinghArmaan Singh
2 min read

Last week, I watched a video by Sivender Puri about “Learning in Public”.

I found this idea impressive and I thought, why not give it a try?

So here I am, starting my first blog in a series where I'll document my learning journey, experiences, project ideas, and a lot more!

In these three days, I studied React Hooks and not only this I’m working on a group project which I can’t disclose yet. But very soon I’ll be sharing that with you.

POV: Why Do We Declare useState with const? 🤔

This question popped up while I was coding, and after some digging, I found the answer!

In JavaScript, declaring a variable with const means that the reference to the variable itself cannot change. However, the value inside that reference can still change if it's an object, array, or function. Since useState is a hook that returns an array, the reference remains the same, but the state can update.

If you’re still unsure, Reddit has some great discussions on this topic!

When I was working on my project I got an error. That error took my attention to React Developer Tools.

It wasn’t even my idea—it was suggested by the error message itself.

So I searched about it on the internet and found a blog.

React Developer Tools

It’s like a window into the inner workings of your React app, making it easier to spot and fix issues.

Thanks for reading :)

CodeBetter 💻


Stay updated with my articles ....

Connect with me on:

📩 Subscribe to Newsletter, 👨🏻‍💻 LinkedIn, 🌍 Personal Website, and 📸 Instagram,🎬 YouTube

0
Subscribe to my newsletter

Read articles from Armaan Singh directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Armaan Singh
Armaan Singh

React Developer | Top LinkedIn Voice 🌟 | Google Cloud Arcade'24 | Lead @Delta Developers 🚀 | Contributor at GSSOC 🌍