Skip to content

Commit ac2a963

Browse files
stephenmathiesonarunoda
authored andcommitted
README: fix "Routing with lazy component loading" blob (#915)
Looks like `<Link>` was replaced with `\n` on accident
1 parent 0820204 commit ac2a963

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,7 @@ No in that it enforces a _structure_ so that we can do more advanced things like
588588
- Automatic code splitting
589589

590590
In addition, Next.js provides two built-in features that are critical for every single website:
591-
- Routing with lazy component loading: `
592-
>` (by importing `next/link`)
591+
- Routing with lazy component loading: `<Link>` (by importing `next/link`)
593592
- A way for components to alter `<head>`: `<Head>` (by importing `next/head`)
594593

595594
If you want to create re-usable React components that you can embed in your Next.js app or other React applications, using `create-react-app` is a great idea. You can later `import` it and keep your codebase clean!

0 commit comments

Comments
 (0)