Use Old School State
A tutorial on creating a custom React hook that mimics the callback functionality of the old setState method from class components.
A tutorial on creating a custom React hook that mimics the callback functionality of the old setState method from class components.
A developer's 2020 year-in-review, summarizing their journey creating educational tech content, including articles, videos, and tutorials on React, Next.js, and mapping apps.
Explains how React's useState hook updates state asynchronously and demonstrates correct patterns for consecutive updates.
Explains React Strict Mode in Next.js, its benefits for identifying potential issues, and how to enable it globally or for specific components.
Learn to build a custom React hook using window.matchMedia for responsive JavaScript-based conditional rendering instead of CSS media queries.
Learn how to use useEffect and useRef to access browser APIs like 'window' in Next.js, avoiding 'window is not defined' errors.
A guide to creating custom React hooks for debugging component re-renders by tracking prop and state changes.
A developer's guide to convincing business stakeholders to approve technical investments like framework migrations and tech debt.
Explains React Fast Refresh, a new feature that improves developer experience by preserving state during hot reloads in React applications.
A guide explaining the differences between React's useEffect and useLayoutEffect hooks and when to use each one.
A technical guide on testing Preact/React Portals using Testing Library, based on real-world implementation challenges in a Rails app.
A tutorial explaining how to use React's useEffect Hook with examples for different scenarios like mounting, updating, and dependency arrays.
Explains how to simplify complex React components by using mediator components to separate domain logic from reusable UI.
A tutorial building a single Rails backend API for a todo list, then creating frontends with React, Angular, Vue, Svelte, and jQuery to compare frameworks.
Explains two main methods for correctly including and displaying images in React components, covering imports and the public directory.
A developer details building a custom React/Node.js web app to track stats, Elo ratings, and trophies for a competitive Among Us league.
A React tutorial on handling forms: accessing input values, implementing validation, and managing form submission using controlled components.
A step-by-step guide to configuring Jest for unit testing in a React application built with TypeScript, covering dependencies and configuration.
A developer's notes from a TypeScript course, covering setup with Parcel, React integration, and TypeScript compiler basics.