Skip to content

Commit ca37609

Browse files
Hugodbyiansu
authored andcommitted
Link to React documentation for code splitting (#7686)
The official documentation offers a simpler way of achieving route based code splitting.
1 parent 2da645c commit ca37609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/code-splitting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ You can also use it with `async` / `await` syntax if you prefer it.
5151

5252
## With React Router
5353

54-
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).
54+
If you are using React Router check out [this tutorial](https://reactjs.org/docs/code-splitting.html#route-based-code-splitting)
5555

5656
Also check out the [Code Splitting](https://reactjs.org/docs/code-splitting.html) section in React documentation.

0 commit comments

Comments
 (0)