<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh" -->

---
title: Lazy loading (and preloading) components in React 16.6
description: React 16.6 introduced React.lazy() and React.Suspense to simplify code splitting. Using a stock list/chart demo app, the post walks through converting a static...
canonical: https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Lazy loading (and preloading) components in React 16.6 | daily.dev
og:description: React 16.6 introduced React.lazy() and React.Suspense to simplify code splitting. Using a stock list/chart demo app, the post walks through converting a static...
og:url: https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh
og:image: https://api.daily.dev/og/posts/171jN2vZH.png
og:image:alt: Lazy loading (and preloading) components in React 16.6
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Lazy loading (and preloading) components in React 16.6

**[Rodrigo Pombo](https://daily.dev/sources/pomb)** · 6 min read · 0 upvotes · 0 comments

## Summary

React 16.6 introduced React.lazy() and React.Suspense to simplify code splitting. Using a stock list/chart demo app, the post walks through converting a static import to a lazy-loaded component, reducing initial bundle size from 125KB to 36KB and cutting load time from 2470ms to 1546ms. It then covers two preloading strategies: triggering the dynamic import before React.lazy() so the chunk loads in the background, and pre-rendering the component hidden inside a Suspense boundary with a null fallback. Limitations of the hidden-div approach (portals, extra DOM nodes) are discussed, along with ideas for future improvements.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/hackernoon/lazy-loading-and-preloading-components-in-react-16-6-804de091c82d>

## Similar posts on daily.dev

- [I Reduced Our React Bundle by 70% Without Removing a Single Feature](https://daily.dev/posts/i-reduced-our-react-bundle-by-70-without-removing-a-single-feature-szhhzvcpd) · Medium · 18 upvotes · 3 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#react](https://daily.dev/tags/react), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Lazy loading (and preloading) components in React 16.6","url":"https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh"},"datePublished":"2026-03-31T12:30:05.297Z","dateModified":"2026-03-31T12:39:56.948Z","description":"React 16.6 introduced React.lazy() and React.Suspense to simplify code splitting. Using a stock list/chart demo app, the post walks through converting a static...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6f0129cda1b6f92c0952a3a4a30d45f6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6f0129cda1b6f92c0952a3a4a30d45f6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Rodrigo Pombo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Rodrigo Pombo","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/pomb"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/lazy-loading-and-preloading-components-in-react-16-6-171jn2vzh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,react,performance","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Rodrigo Pombo","item":"https://daily.dev/sources/pomb"},{"@type":"ListItem","position":3,"name":"Lazy loading (and preloading) components in React 16.6"}]}
```

