---
title: "React Articles: Hooks, Data Fetching and Performance"
description: "React articles: hooks, fetching data with useEffect and React Query, Redux with Reselect, code splitting with lazy(), and mocking API calls in tests with MSW."
canonical: "https://www.trevorlasn.com/topics/react"
author: "Trevor I. Lasn"
last-updated: "2026-11-08"
---

# React Articles: Hooks, Data Fetching and Performance

React articles: hooks, fetching data with useEffect and React Query, Redux with Reselect, code splitting with lazy(), and mocking API calls in tests with MSW.

10 current articles on React, newest first. See [every topic](https://www.trevorlasn.com/topics.md).

## 2025

- [What's New in Next.js 16: Every Change Explained](https://www.trevorlasn.com/blog/whats-new-in-nextjs-16.md): Next.js 16 makes params async, Turbopack the default bundler and proxy the new middleware, and removes AMP. Every change with code, updated for 16.4. (2025-10-25)
- [Data Fetching Architecture for Complex React/Next.js Apps](https://www.trevorlasn.com/blog/fetching-data-for-complex-next-and-react-apps.md): How I use the 'Three Layers of Data' architecture pattern for React and Next.js apps to avoid common pitfalls, tech debt, and improve performance (2025-05-04)

## 2024

- [Mock API Calls in React Tests with Mock Service Worker](https://www.trevorlasn.com/blog/react-testing-mock-service-worker.md): Testing can be tricky, especially when it comes to handling API calls. (2024-09-01)

## 2023

- [Speeding Up React Apps with Code Splitting and Lazy Loading](https://www.trevorlasn.com/blog/react-lazy-loading.md): Split a React app's bundle with React.lazy and Suspense, lazy-load routes and CSS, and improve Core Web Vitals, which Google uses as a ranking factor. (2023-12-26)

## 2020

- [The What, Why, and How of Using a Skeleton Loading Screen](https://www.trevorlasn.com/blog/the-what-why-and-how-of-using-a-skeleton-loading-screen.md): Skeleton loading screens enhance user experience and make your app feel faster (2020-11-12)
- [Integrating Docker with React](https://www.trevorlasn.com/blog/docker-with-react.md): Run a React app in Docker: write a Dockerfile, start it with Docker Compose, serve the production build with Nginx and deploy it to a VPS. (2020-07-16)

## 2019

- [Boost React + Redux Performance with Reselect](https://www.trevorlasn.com/blog/increase-react-redux-application-performance-with-reselect-library.md): Selectors are a powerful tool to optimize state selection and enhance performance in your React and Redux apps. (2019-10-02)
- [How To Fetch Data From an API With React Hooks](https://www.trevorlasn.com/blog/how-to-fetch-data-from-an-api-with-react-hooks.md): Move a class component that fetches API data to React Hooks with useState and useEffect, step by step, and when to use a data-fetching library instead. (2019-06-21)
- [How To Use Redux with React Hooks](https://www.trevorlasn.com/blog/how-to-use-redux-with-react-hooks.md): Use Redux with React Hooks: replace connect with useSelector and useDispatch, available since React Redux 7.1, and refactor a component step by step. (2019-06-20)
- [Demystifying React Hooks](https://www.trevorlasn.com/blog/demystifying-react-hooks.md): React Hooks, added in React 16.8, let you write stateful components without classes. Refactor a class component to a function with useState, step by step. (2019-06-16)
