From 5a3576a9a1dd5a37daa0a305b5c0b221e48c7be9 Mon Sep 17 00:00:00 2001 From: Miltos Doulgeris Date: Tue, 18 Jan 2022 18:56:11 +0200 Subject: [PATCH] Update outdated link to avoid redirect (#4218) --- content/docs/code-splitting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/code-splitting.md b/content/docs/code-splitting.md index 0d1a90b9..aa8a467b 100644 --- a/content/docs/code-splitting.md +++ b/content/docs/code-splitting.md @@ -174,7 +174,7 @@ Deciding where in your app to introduce code splitting can be a bit tricky. You A good place to start is with routes. Most people on the web are used to page transitions taking some amount of time to load. You also tend to be re-rendering the entire page at once so your users are unlikely to be interacting with other elements on the page at the same time. -Here's an example of how to setup route-based code splitting into your app using libraries like [React Router](https://reacttraining.com/react-router/) with `React.lazy`. +Here's an example of how to setup route-based code splitting into your app using libraries like [React Router](https://reactrouter.com/) with `React.lazy`. ```js import React, { Suspense, lazy } from 'react';