RIMANSHU SINGHforme.hashnode.dev·17 hours agoHow to Use React's Context API for State ManagementHey folks, Let's dive deep into the concept of ContextAPI. Why do we need this When you create an application, managing state is an essential concept in React. A common way to manage state is by passing props, which means sending data from one compon...Discuss·3 likesReact
Harish Kunchalaharishkunchala.com·Nov 19, 2024Mastering setState in Flutter: When to Use It and When to Avoid ItUnderstanding when to use setState in Flutter is crucial for managing our app’s state effectively. Here’s a detailed guide: When to use setState ? Updating the UI: Use setState when we need to update the UI in response to changes in the internal sta...Discuss·4 likesFlutter
Zeeshan Safdarzeeshansafdar.hashnode.dev·Nov 19, 2024Understanding the Children Prop in ReactIn React development, one fundamental concept that you’ll use time and again is the children prop. You might already know how to pass props like textColor, onClick, or backgroundColor, but what if you want to pass entire chunks of JSX content into a ...DiscussWeb Development
Zeeshan Safdarzeeshansafdar.hashnode.dev·Nov 19, 2024🚀 Mastering State Lifting in React 🚀When working with React, managing state across multiple components can be tricky, especially when they are siblings. This is where lifting state up comes into play! What is Lifting State Up? Lifting state up is a technique in React where we move stat...DiscussReact
Pawan Gangwaniblogs.pgangwani.co.in·Nov 16, 2024Understanding Jotai: A Fresh Take on React State ManagementReact state management has evolved significantly over the years, from the simple useState hook to complex state management libraries. Today, let's explore Jotai, a primitive and flexible state management library that brings an atom-based approach to ...DiscussJotai
Md. Al - Aminalaminkarno.hashnode.dev·Nov 16, 2024Chapter 3: What Are Bloc Events and States?Hi there! I’m so glad to see you here again. By now, you’re already familiar with the basics of Bloc and how Equatable simplifies state management. But today, we’re stepping into the core of Bloc state management—events and states. Let me tell you a ...DiscussFlutter
Md. Al - Aminalaminkarno.hashnode.dev·Nov 16, 2024Chapter 2: Mastering Equality with the Equatable Package in Flutter BlocWelcome back to Chapter 2 of our Flutter Bloc State Management course! If you’ve been following along, we’ve set the foundation with an overview of Flutter Bloc, its significance, and why big companies trust it for state management. Today, we’re taki...DiscussDart
Md. Al - Aminalaminkarno.hashnode.dev·Nov 15, 2024Flutter Bloc State Management Roadmap: Chapter 1 — Roadmap to MasteryWelcome to the first chapter in Flutter Bloc State Management blog, a comprehensive guide designed to take you from beginner to expert in Bloc state management. This blog is set up as a journey that will not only teach you the fundamentals but also p...DiscussFlutter
Zeeshan Safdarzeeshansafdar.hashnode.dev·Nov 14, 2024💡 State vs. Props in React: A Common Interview Question 💡If you're starting with React or preparing for an interview, you might come across this classic question: What's the difference between state and props? Let's break it down! 👇 🌐 State Internal data: Owned by the component that declares it. Compon...DiscussReact
Zeeshan Safdarzeeshansafdar.hashnode.dev·Nov 14, 2024🎯 Mastering State in React: Key Insights and Guidelines 🎯As we wrap up our deep dive into state in React, here are a few key thoughts and practical guidelines to help you navigate state with confidence: 🔹 Each Component Manages Its Own State: Even if the same component is rendered multiple times, each i...DiscussReact