Day 12–13 of my 30 Days Job-Ready Challenge Built a Todo App in React. It looks simple, but learned a lot while building it: Why we should not mutate state directly Difference between map() and filter() and where to use them Event bubbling (delete click was marking task complete 😅) Using localStorage to persist data The main learning was not coding. It was thinking before writing code. What state is needed? What should be its type? What happens on different user actions? Clear logic >>> writing code fast. Discipline builds consistency. #100DaysOfCode #ReactJS #Frontend #WebDevelopment #JavaScript #LearningInPublic
More Relevant Posts
-
🚀 React Hooks: From Beginner to Advanced Hooks changed the way we build React apps by making code cleaner, reusable, and easier to manage. From useState for managing state, to useEffect for side effects, useRef for persistent values, and advanced hooks like useMemo, useCallback, and useReducer — mastering hooks is a game changer for every frontend developer. 💡 Key lessons: ✅ Reuse logic with custom hooks ✅ Think in data flow ✅ Optimize only when needed ✅ Keep building real projects The more you practice hooks, the more natural React development becomes. What’s your favorite React Hook and why? 👇 #React #JavaScript #WebDevelopment #Frontend #Programming #ReactJS #Coding #SoftwareDevelopment #100DaysOfCode
To view or add a comment, sign in
-
-
📘 Mastering React JS Fundamentals & Core Concepts Continuously strengthening my front-end development skills, I’ve been diving deep into React JS fundamentals and organizing key concepts in a structured way. This learning covers: 🔹 React basics and component-based architecture 🔹 Understanding JSX and how it works behind the scenes 🔹 Difference between State vs Props and their roles in data handling 🔹 Hands-on practice with Hooks like `useState` and `useEffect` 🔹 React lifecycle and how components update efficiently using the Virtual DOM Building a strong foundation in these core concepts is essential for developing scalable and high-performance web applications. 🚀 Always learning, always improving. #ReactJS #WebDevelopment #FrontendDevelopment #JavaScript #CodingJourney #SoftwareDevelopment
To view or add a comment, sign in
-
-
While learning React, I made a mistake that slowed me down… I used useEffect for everything. Fetching data Updating state Even simple calculations At first, it felt powerful. But soon my code became: Confusing Hard to debug Full of unnecessary logic Then I realized something important: 👉 Not everything belongs in useEffect Now I: • Keep logic simple • Avoid unnecessary state • Use hooks only when needed The biggest lesson: Clean code > clever code Curious to know: What confused you most while learning React? #ReactJS #FrontendDeveloper #WebDevelopment #JavaScript
To view or add a comment, sign in
-
I used to think React.ReactNode and React.ReactElement were the same thing… They are NOT. And this mistake silently breaks a lot of beginner code Here’s the simplest way I now understand it: *React.ReactNode = anything React can render *React.ReactElement = only JSX elements Sounds small, but watch this If you write: children: React.ReactElement You just blocked this: <Container>Hello</Container> Because "Hello" is NOT a ReactElement. But when you use: children: React.ReactNode Now everything works: ✅ Text ✅ Components ✅ Elements ✅ Even null When to use : ✅ Use React.ReactNode when: * You’re typing children * You want flexibility * You don’t care what gets rendered, as long as React can display it Avoid React.ReactNode when: * You need strict control over what is passed ✅ Use React.ReactElement when: * You want ONLY JSX/components * You’re enforcing structure (e.g. design systems, wrappers) *Avoid React.ReactElement when: * You expect text, numbers, or mixed content What I learned today: TypeScript isn’t just about types… It’s about preventing subtle bugs before they happen I’m currently learning React + TypeScript and sharing what I discover daily. If you’re on the same journey, let’s connect 🤝 #typescript #reactjs #frontenddeveloper #webdevelopment #codingjourney #javascript #buildinpublic #devcommunity #learninpublic
To view or add a comment, sign in
-
-
I went quiet for a bit… but not because I stopped learning. I’ve been spending the past couple of weeks getting deeper into Next.js and trying to understand things beyond just “making it work.” At this stage, I’m realizing something: The more you learn, the more you see what you don’t know. Moving from React into Next.js has pushed me to think differently about structure, performance, and how applications actually run, not just how they look. I’m no longer just focused on building features. I’m trying to understand why things work the way they do. Still learning. Still building. Just at a different level now. For developers here: what concept in Next.js took you the longest to understand? #NextJS #WebDevelopment #FrontendDeveloper #BuildInPublic #JavaScript
To view or add a comment, sign in
-
-
⚛️ React State Hooks — Explained Simply While learning React, I realized one thing: 👉 Not every hook is used daily. Here are the most important ones you actually need to know: 🔹 useState → for basic state (forms, counters) 🔹 useEffect → for API calls & side effects 🔹 useRef → access DOM without re-render 🔹 useContext → share global data 🔹 useReducer → handle complex state logic 🔹 useMemo & useCallback → optimize performance 💡 My takeaway: 80% of your work is done with just useState + useEffect Other hooks become useful as your app grows I’ve summarized everything in this infographic 👇 Which React hook do you use the most? #reactjs #javascript #frontend #webdevelopment #coding
To view or add a comment, sign in
-
-
React Hooks changed the way I write React forever. 🎣 Before hooks, I was juggling class components, lifecycle methods, and `this` bindings just to manage basic state. Then `useState` and `useEffect` walked in and said "relax, we got you." 😄 A few things I love about hooks: → `useState` — dead simple state management, no class needed → `useEffect` — handle side effects cleanly in one place → `useCallback` & `useMemo` — performance wins without the headache → Custom hooks — extract and reuse logic like a pro The best part? Your components become smaller, more readable, and actually fun to write. If you're still on class components, I genuinely encourage you to make the switch. The learning curve is worth it — I promise. 🙌 What's your favourite hook? Drop it in the comments! 👇 #ReactJS #React #WebDevelopment #Frontend #JavaScript #ReactHooks #Programming #SoftwareEngineering
To view or add a comment, sign in
-
One mistake I see many React developers making 👇 They learn everything… but master nothing. - Redux ✅ - Next.js ✅ - TypeScript ✅ - WebSockets ✅ - System Design (basic) ✅ Looks good on paper, right? But when it comes to solving a real-world problem… they struggle. I was doing the same. Jumping from one topic to another. Watching tutorials. Feeling “productive”. But not actually getting better. Then I changed one thing: 👉 I started going deep instead of wide Instead of learning 10 tools, I focused on: - How React actually works under the hood - Rendering, reconciliation, performance - Writing clean, scalable components - Real-world architecture decisions And everything started to click. ⚡ The truth is: Top 1% developers don’t know everything They understand a few things really deeply If you're a developer reading this: Pick ONE area this week. Go deep. Build something real. Break it. Fix it. Repeat. What are you going deep into right now? #ReactJS #FrontendDevelopment #WebDevelopment #JavaScript #NextJS #TypeScript #SoftwareEngineering #CodingLife #DeveloperMindset #LearnToCode #Programming #TechCareers #DevCommunity #100DaysOfCode #BuildInPublic #SystemDesign #CleanCode #PerformanceOptimization #ReactDeveloper #FullStackDeveloper
To view or add a comment, sign in
-
🔹 React Basics: Props vs State (Explained Simply) When starting with React, one of the most important concepts to understand is the difference between Props and State. Here’s a simple breakdown 👇 👉 Props (Properties) • Passed from parent to child components • Read-only (cannot be modified) • Used to make components reusable 👉 State • Managed within the component • Can be updated using hooks like `useState` • Controls dynamic data and UI behavior 💡 In short: Props help you pass data, while State helps you manage data. Understanding this difference is key to building scalable and maintainable React applications. If you're learning React, mastering these fundamentals will make your journey much smoother 🚀 💬 What topic should I cover next in React? #ReactJS #FrontendDevelopment #JavaScript #WebDevelopment #LearningInPublic #SoftwareDevelopment #CodingJourney #Developers
To view or add a comment, sign in
-
-
🚀 30 Days of React JS – From Basics to Build Sharing a structured roadmap that covers React step-by-step — perfect for anyone starting out or revising fundamentals. This visual breaks down learning into daily, manageable topics, starting from the core basics and gradually moving toward advanced concepts and real-world implementation. 📌 What this roadmap includes: • Strong foundation with JSX, components, props, and state • Hands-on concepts like event handling, forms, and conditional rendering • Deep dive into hooks like useState, useEffect, and custom hooks • Real-world skills like API integration, routing, and performance optimization • Advanced topics like Context API, code splitting, and testing • Final goal: Build a mini project to apply everything 💡 The idea is simple: Consistency over intensity — 1 concept a day can build strong expertise over time. Whether you're a beginner or someone brushing up React skills, this roadmap keeps your learning focused and structured. #ReactJS #FrontendDevelopment #JavaScript #WebDevelopment #LearningPath #30DaysOfCode #Developers
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