A React Lift State Up & Down Example
A tutorial explaining how to lift state up and down in React applications to manage component state sharing effectively.
Personal blog about React and JavaScript
333 Articles from this blog
A tutorial explaining how to lift state up and down in React applications to manage component state sharing effectively.
A tutorial on implementing a global state container in React using useReducer and useContext hooks, mimicking Redux functionality.
Compares React's useReducer Hook with Redux for state management, explaining their differences and when to use each.
A step-by-step tutorial on how to publish your own open source npm package, covering setup, bundling with Babel, and the publishing process.
A tutorial showing two ways to scroll to specific items in a React list component using the native scrollIntoView API.
A tutorial on setting up a Node.js testing environment using the Mocha, Chai, and Sinon libraries.
A step-by-step tutorial on using the useReducer hook in React for state management, including a practical example.
An introduction to JavaScript Reducer functions, explaining their core concepts and implementation with examples.
A guide explaining when to use the useState vs useReducer hooks for state management in React applications.
A tutorial on how to render and manage lists of items, from simple primitives to complex objects, in React components.
A tutorial explaining the difference between controlled and uncontrolled components in React with practical code examples.
A tutorial on using React's useState, useReducer, and useContext hooks for state management, from simple to complex scenarios.
Explains why using a stable key prop is crucial for React lists, demonstrating the pitfalls of using array indexes with a practical example.
A tutorial on using Styled Components, a CSS-in-JS library for React, covering its benefits and how to get started.
A tutorial showing how to migrate React Class Components to Function Components using React Hooks for state and side-effects.
A detailed guide explaining how to use the JavaScript Array Map method for transforming array elements without modifying the original array.
A tutorial explaining React Component Composition with step-by-step examples, from JavaScript functions to React components.
Announcing a free book that teaches how to build a full-stack application using React and Firebase, from setup to deployment.
A tutorial on migrating a React Firebase app from the Realtime Database to Cloud Firestore, highlighting the benefits and process.
A step-by-step tutorial for installing and setting up MongoDB on Windows, including environmental variables and verification.