How to mock data in React with a fake API
A tutorial on using a JavaScript fake API with mock data to build a React frontend when a backend isn't available.
A tutorial on using a JavaScript fake API with mock data to build a React frontend when a backend isn't available.
A technical guide on programmatically displaying relevant icons (like GitHub, React, JS) for blog articles based on their tags using React components.
A new course on egghead.io teaches how to build interactive maps in React applications using the React Leaflet library.
An introductory tutorial explaining React Hooks, showcasing how to use state and side-effects in function components.
Learn how to implement a callback function after state updates with React's useState hook, using useEffect or a custom hook.
Argues that using multiple boolean props in a component is a code smell, suggesting a single enum prop as a better alternative.
A guide to the correct mental model for React's useEffect hook, explaining why the dependency array shouldn't be used as a conditional and how to avoid common pitfalls.
Explains how to categorize and manage stable vs. volatile dependencies in front-end architecture for better design.
A developer shares insights from her conference talk on migrating from Remark to MDX, highlighting the benefits of using React components in Markdown.
An article exploring Preact, a lightweight React alternative, and its progressive ecosystem for building web applications.
A tutorial on mBlocks, a frontend UI library for building reactive components without the Web Component API, covering setup, props, and state.
A beginner's tutorial on React, covering setup with script tags, JSX, components, props, and state using functional components.
A tutorial on building a Tic-Tac-Toe game in React, covering game state, grid logic, and component structure.
Explains the useFlasher React Hook for visually debugging component re-renders and provides an improved version with a timer fix.
Explains why testing React component implementation details leads to unreliable tests and demonstrates better testing practices.
A developer explains their reasons for avoiding the React.FC type in TypeScript+React projects, citing issues with function typing and implicit children.
A guide to common React component patterns using TypeScript, focusing on function components, props, and type definitions.
A developer documents a live coding session where a Preact class component was converted to a function component using React hooks like useState and useReducer.
A tutorial on using React's Context API with useReducer hook for state management as an alternative to Redux in React applications.
Argues that overengineering personal projects like blogs can be a valuable learning tool for developers to experiment with new frameworks and technologies.