From 757c6d44d00316d8dfb771b4d15ec5e03a4de6a2 Mon Sep 17 00:00:00 2001 From: Hugo David-Boyet Date: Mon, 16 Sep 2019 17:45:53 +0200 Subject: [PATCH] Link to React documentation for code splitting The official documentation offers a simpler way of achieving route based code splitting. --- docusaurus/docs/code-splitting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/code-splitting.md b/docusaurus/docs/code-splitting.md index 4c453f4a638..2fabb6b40c0 100644 --- a/docusaurus/docs/code-splitting.md +++ b/docusaurus/docs/code-splitting.md @@ -51,6 +51,6 @@ You can also use it with `async` / `await` syntax if you prefer it. ## With React Router -If you are using React Router check out [this tutorial](https://serverless-stack.com/chapters/code-splitting-in-create-react-app.html) on how to use code splitting with it. You can find the companion GitHub repository [here](https://github.com/AnomalyInnovations/serverless-stack-demo-client/tree/code-splitting-in-create-react-app). +If you are using React Router check out [this tutorial](https://reactjs.org/docs/code-splitting.html#route-based-code-splitting) Also check out the [Code Splitting](https://reactjs.org/docs/code-splitting.html) section in React documentation.