Backend devs: You need a database for notes
Me: uses localStorage
Backend devs: But what about scalability?
Me: It's a notes app bro, not Netflix
localStorage: Am I a joke to you?
localStorage gang? 💪👇 #React#buildinginpublic#fronted#javascriptframeworks
I always used to get it lightly but now I got it
MAP FUNCTION --> concerts the new array and return it back
Aaj Tak parha tha ab samjh aaya 🫡🫡 @rohit_negi9#react#javascriptframeworks
What's the React concept that finally clicked for you?
And what made it click?
Mine: useEffect cleanup when I saw the memory leak.
Share your "aha" moment 👇 #react#javascriptframeworks#buildinpublic
#Multiplayer_Guessing_Game
A real-time multiplayer guessing game built with Node.js, and Socket.IO. Players can join game rooms, take turns creating questions, and guess answers in real-time.
packages;
1. Node.js
2. Express.js
3. Socket.IO
4. UUID
Learned in depth about the DOM’s four main parts, how variables are declared, how to update HTML elements, how to apply dynamic CSS changes, and how events work in JavaScript to make webpages interactive
#javascriptframeworks#javascriptlearning#codereview#developer#MERN
Instead of checking roles the hard way, keep it clean
const canDelete = user.role === "admin"
Or make it flexible for multiple roles:
const canDelete = ["admin", "superadmin", "moderator"].includes(user.role)
Clean, readable, and easy to extend #javascriptframeworks