Skip to content

Commit

Permalink
README: fix "Routing with lazy component loading" blob (#915)
Browse files Browse the repository at this point in the history
Looks like `<Link>` was replaced with `\n` on accident
  • Loading branch information
stephenmathieson authored and arunoda committed Jan 29, 2017
1 parent 0820204 commit ac2a963
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,7 @@ No in that it enforces a _structure_ so that we can do more advanced things like
- Automatic code splitting

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

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!
Expand Down

0 comments on commit ac2a963

Please sign in to comment.