🚀 Day 4 of #100DaysOfCode In the past few days, I learned: ✔ React components and props ✔ Events and useState ✔ Handling user input Today I built a simple input feature where users can enter data and see it on screen. Step by step improving my skills 💻 #React #JavaScript #WebDevelopment #Coding
React Input Feature with User Input
More Relevant Posts
-
JavaScript can surprise you! What will this return? console.log([] == ![]) Most people guess - false But the answer is - true Why? Because JavaScript silently converts types behind the scenes. Lesson: Always understand type coercion — or use === to avoid surprises. #JavaScript #Coding #WebDevelopment #LearnToCode
To view or add a comment, sign in
-
"Complete Guide to the useEffect Hook in React. This clean infographic breaks down everything you need to know about useEffect: Purpose: Running side effects after render (data fetching, subscriptions, DOM manipulation, timers) Syntax: Full code example with side effect and cleanup function Dependency Array: Detailed explanation of [], no array, and [dep1, dep2] behaviors Cleanup Function: How to prevent memory leaks Common Mistakes: Infinite loops, missing dependencies, and stale closures Best Practices: Keeping effects focused and using custom hooks for complex logic An essential visual cheat sheet for mastering side effects in functional React components." #React #useEffect #ReactHooks #ReactJS #JavaScript #FrontendDevelopment #WebDevelopment #ReactTutorial #Coding #Programming #SideEffects #CleanupFunction #DependencyArray #ReactCheatSheet #LearnReact #DeveloperLife #CodeSnippets
To view or add a comment, sign in
-
-
🔄 JavaScript Async Evolution Callbacks → Promises → Async/Await Here's what changed and why it matters: Callbacks — the OG way. Works, but nests into chaos fast. "Callback Hell" is real. Promises — cleaner chaining with .then() and .catch(). Big improvement, still a bit verbose. Async/Await — reads like normal code. try/catch for errors. Clean, simple, everyone loves it. ✅ Remember: Async/Await is just Promises under the hood. Learn both. Still working in a Callbacks codebase? Drop a comment 👇 #JavaScript #WebDev #AsyncJS #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
Async JavaScript used to feel messy… First callbacks → then promises → still confusing 😅 But then came async/await — and suddenly everything started making sense. 1. Cleaner code 2. Better readability 3. Easier error handling In this blog, I’ve broken it down in a simple and beginner-friendly way with examples and visuals. If async still confuses you, this might help https://lnkd.in/gXYD7Qbg Would love your feedback 🙌 #javascript #webdevelopment #frontend #programming #100DaysOfCode
To view or add a comment, sign in
-
-
React just got even more powerful 🚀 The new use hook lets you read async data directly during rendering — no more juggling useEffect + useState. ✅ Cleaner code ✅ Less boilerplate ✅ Built for Suspense Sometimes, less code really is more. #React #JavaScript #WebDevelopment #Frontend #Coding
To view or add a comment, sign in
-
-
How does an EventEmitter actually work? I broke it down by building a functional mini-nodemon CLI from first principles. If you're into Node.js internals, this one is for you. Read more: https://lnkd.in/diw6tqxh #SoftwareEngineering #NodeJS #JavaScript #TypeScript #WebDev #SystemDesign #Coding #BuildInPublic
To view or add a comment, sign in
-
-
🚀 React Series - Day 4 Understanding useState (The Most Used React Hook) The useState hook is what allows functional components to manage data internally. It provides two things: • A state value • A function to update that value For example, a simple counter or input field is powered by useState. One key thing to remember: State should never be updated directly - always use the setter function. 👉 This ensures React knows when to re-render the UI properly. #reactjs #javascript #frontenddeveloper #webdevelopment #codinginterview #learnreact #30daysofcode #programming #reactinterview #react #coding
To view or add a comment, sign in
-
Closures aren’t complicated. They’ve just been explained badly. A closure is simply a function that remembers the variables in its surrounding scope when it was created. No tricks. No magic. I’ve been building something that focuses on explaining JavaScript concepts properly — the way they should be taught. Launching soon. #javascript #webdevelopment #frontend #coding #softwaredevelopment
To view or add a comment, sign in
-
🚀 React Series – Day 8 Rendering Lists Efficiently in React Displaying lists of data is a common requirement - whether it’s users, products, or messages. In React, lists are usually rendered using the map() function. Each item in the list should have a unique key. This helps React identify which items have changed, been added, or removed. Using proper keys improves performance and prevents unexpected UI issues. 👉 A good practice is to use a unique ID instead of the array index whenever possible. #reactjs #javascript #frontenddeveloper #webdevelopment #codinginterview #learnreact #30daysofcode #programming #reactinterview #react #coding
To view or add a comment, sign in
-
⚠️ Common Confusions about Control Flow : Switch case: switch-case executes all cases after a match unless you break. else if : else if chain works top-down — order matters. You can use truthy/falsy values directly in if . 🧠 Mindset Control flow = conditional storytelling. It helps your program make choices and respond differently to different inputs. Write readable branches. Avoid nesting too deep — use early return if needed. #react #javascript #JS #ABK #code
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development