mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix grammatical errors in readme.md (#4199)
This commit is contained in:
parent
59ff251bca
commit
23716d4487
|
@ -525,7 +525,7 @@ The second `as` parameter for `push` and `replace` is an optional _decoration_ o
|
|||
_Note: in order to programmatically change the route without triggering navigation and component-fetching, use `props.url.push` and `props.url.replace` within a component_
|
||||
|
||||
##### With URL object
|
||||
You can use an URL object the same way you use it in a `<Link>` component to `push` and `replace` an url.
|
||||
You can use an URL object the same way you use it in a `<Link>` component to `push` and `replace` an URL.
|
||||
|
||||
```jsx
|
||||
import Router from 'next/router'
|
||||
|
@ -542,7 +542,7 @@ export default () =>
|
|||
</div>
|
||||
```
|
||||
|
||||
This uses of the same exact parameters as in the `<Link>` component.
|
||||
This uses the same exact parameters as in the `<Link>` component.
|
||||
|
||||
##### Router Events
|
||||
|
||||
|
|
Loading…
Reference in a new issue