Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/canary' into fix/shared-sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Dec 14, 2019
2 parents 8d2f39a + eee4efd commit fe264a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ export default function MyLink() {
}
```

`router` methods should be only used inside the client side of your app though. In order to prevent any error regarding this subject use the imperatively `prefetch` method in the `useEffect()` hook:
`router` methods should be only used inside the client side of your app though. In order to prevent any error regarding this subject use the imperative `prefetch` method in the `useEffect()` hook:

```jsx
import { useRouter } from 'next/router'
Expand Down

0 comments on commit fe264a6

Please sign in to comment.