✨ React Refs let you work with DOM elements directly without causing re-renders.
🔹 Create a ref with useRef
🔹 Attach it to your input
🔹 One button can call .focus() to place the cursor
🔹 Another can call .blur() to remove focus
Smooth DOM control, zero state updates ⚡
✨ React Refs let you work with DOM elements directly without causing re-renders.
🔹 Create a ref with useRef
🔹 Attach it to your input
🔹 One button can call .focus() to place the cursor
🔹 Another can call .blur() to remove focus
Smooth DOM control, zero state updates ⚡
💡 In React, when multiple components need the same data, "lift state up".
Example: input boxes showing the same text.
❌ Each manages its own state → out of sync
✅ Parent holds the state → both stay synced
Key: Parent = single source of truth 🔑
#ReactJS#JavaScript
💡 In React, when multiple components need the same data, "lift state up".
Example: 2 input boxes showing the same text.
❌ Each manages its own state → out of sync
✅ Parent holds the state → both stay synced
Key: Parent = single source of truth 🔑
#ReactJS#JavaScript
💡 In React, when multiple components need the same data, "lift state up".
Example: 2 input boxes showing the same text.
❌ Each manages its own state → out of sync
✅ Parent holds the state → both stay synced
Key: Parent = single source of truth 🔑
#ReactJS#JavaScript
I just built a simple React Todo List ✅
✨ Add new todos through an input field
✔️ Mark todos as completed
📋 View all todos in a list
🙌 Shows a friendly message when no todos exist
I just built a simple React Todo List ✅
✨ Add new todos through an input field
✔️ Mark todos as completed
📋 View all todos in a list
🙌 Shows a friendly message when no todos exist
Built a React component to practice complex state updates 👩💻
✨ Update name only if input isn’t empty
🔢 Convert + validate age before updating
🏙️ Handle nested objects (address.city) with nested spreads
Built a React component that updates live as you type and responds to a button click 🎯
✅ Typing updates both the input + display in real time
✅ Clicking a button fills both with random characters
🚀 Temperature Converter in React using the useState Hook to manage dynamic temperature changes
🌡️ Increase/Decrease temperature
🔁 Switch between Celsius (°C) & Fahrenheit (°F)
🧠 Perfect mini-project to sharpen React skills!
🚀 Built a React Product List App!
✅ Product cards with name, price & "Select" button
🔔 Click = alert: "Product Selected: [ProductName]"
🎨 Conditional borders: red if price > $50, gray otherwise
🔁 Used .map() to render all products efficiently #ReactJS#WebDev
44 Followers 50 FollowingFormer Intern at IT Cell, High Court of Madhya Pradesh | B. Tech JEC'26 | DSA with C++ | Django Developer | Skilled in Python, JavaScript & C++
67K Followers 65K FollowingI may be a heart attack survivor, but my jokes are still fire. Married, developer, neurodivergent, ADHD, dyslexic, content creator, and streamer.
244 Followers 238 FollowingSpecialist in UI/UX Design, Graphics Design, Website Design, YouTube Channel, Online Advertisement, Front End Web Development. etc.
1K Followers 4K FollowingGame Developer | NFT | WEB 3.0 | Blockchain | Render | Teen running a game development studio | Blockchain Game | NFT seller | Tech Enthusiast | Ethereum
230 Followers 373 FollowingAspiring Software Engineer || Looking to build things "OUT OF THE ORDINARY" || God's masterpiece || Video editing enthusiast || Knowledge Hunter.
212 Followers 156 FollowingTech Innovator 🚀 | Web Dev & AI Enthusiast 🤖 | Exploring the future of Software Engineering | Sharing tools, tips, and trends 🌐
22 Followers 89 Followingtraining ai model is cool, optimizing it is even better... I do both.
my tweets revolve around NLP, CV and GenerativeAI.
followw !D
44 Followers 50 FollowingFormer Intern at IT Cell, High Court of Madhya Pradesh | B. Tech JEC'26 | DSA with C++ | Django Developer | Skilled in Python, JavaScript & C++
5 Followers 14 FollowingWeb Dev : HTML, CSS, JS, React, Node Js, Express, MongoDB & more Exploring DSA in C++ & GenAI.
Currently creating some project with Prisma. Always leaning 🚀
244 Followers 238 FollowingSpecialist in UI/UX Design, Graphics Design, Website Design, YouTube Channel, Online Advertisement, Front End Web Development. etc.
67K Followers 65K FollowingI may be a heart attack survivor, but my jokes are still fire. Married, developer, neurodivergent, ADHD, dyslexic, content creator, and streamer.
29 Followers 223 FollowingI'm a computer programmer, software developer, musician, language loving, traveler who has a thing for art and food. Yep, that about sums me up.
230 Followers 373 FollowingAspiring Software Engineer || Looking to build things "OUT OF THE ORDINARY" || God's masterpiece || Video editing enthusiast || Knowledge Hunter.
106 Followers 122 FollowingSDE intern @AWS | built crazy viral extensions/bots/SaaS/CLI/n8n and even a full fledged programming language |
call me when your AI agents fail to build :)