How to use React memo
A guide on using React's memo API to optimize component rendering and prevent unnecessary re-renders in React applications.
RobinWieruch.de is the personal site and blog of Robin Wieruch, a software engineer and educator known for clear, practical tutorials on React, TypeScript, Next.js, GraphQL, Node.js, and testing. The articles focus on real projects and common problems such as state management, authentication, data fetching, pagination, performance, and testing strategies. Robin is the author of The Road to React and other hands-on guides. He publishes step by step walkthroughs that pair code with explanations, so readers learn the concepts and the reasoning behind them.
335 articles from this blog
A guide on using React's memo API to optimize component rendering and prevent unnecessary re-renders in React applications.
A beginner's guide to Deno, a secure JavaScript/TypeScript runtime, covering its benefits and how to start using it.
A guide on using environment variables and .env files to securely manage sensitive data like API keys in Deno applications.
Learn how to implement Lodash's countBy function in vanilla JavaScript using the reduce method to group and count objects by property.
Learn how to implement a groupBy function in vanilla JavaScript using the reduce method, without needing Lodash.
Learn two methods to replace all occurrences of a string in JavaScript: using regex with global flag and the newer replaceAll function.
An introduction to callback functions in JavaScript, explaining how they are passed as arguments and executed within other functions.
A guide to creating and using custom error classes in JavaScript for both new errors and third-party errors.
Explores methods for handling errors in JavaScript async/await functions without using bulky try/catch blocks.
A guide on how to derive state from props in React function components, including code examples for initializing and updating state.
Explains how to implement computed properties (derived state) in React using useState and sorting examples.
A tutorial on managing JavaScript arrays in React state, covering common operations like adding, updating, and removing items.
Learn how to use GraphQL to programmatically create pages and manage data in your Gatsby.js projects.
A tutorial on updating items in a React list using state management, including useState and useReducer hooks.
A tutorial on adding items to a list in React using the useState Hook and controlled input fields.
A tutorial on removing items from a list in React using state management and the filter method.
A guide exploring various CSS styling strategies for React applications, including CSS-in-CSS, CSS-in-JS, and utility-first approaches.
A tutorial on connecting a MongoDB database to an Express.js application using Mongoose as the Object-Relational Mapping (ORM) library.
A tutorial on building a REST API using Express.js and MongoDB, covering CRUD operations and database integration.
A step-by-step tutorial for installing and setting up MongoDB on MacOS using Homebrew, including directory creation and permissions.