Skip to content

Commit

Permalink
mini typos
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson committed Aug 6, 2018
1 parent 4c7e80c commit bc7035c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/migrating-from-v1-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ Gatsby's `<Link>` component supports out-of-the-box `activeClassName` and `activ

If you have more advanced styling needs, [use the `getProps` prop](https://reach.tech/router/api/Link).

#### Change client paths to use a spat
#### Change client paths to use a splat

When creating a client route in `gatsby-node.js`, use a `*` to select all child routes instead of `:path`.

Expand Down Expand Up @@ -521,7 +521,7 @@ Here's links to diffs for three sites with client routes that were upgraded to @
### APIs `onPreRouteUpdate` and `onRouteUpdate` no longer called with the route update action
React Router v4 would tell us the "action" (push/replace) that trigger the route
React Router v4 would tell us the "action" (push/replace) that triggered the route
transition. We passed this as one of the arguments along with `location` to plugins. @reach/router doesn't support this so we've removed it from the API calls.
### Browser API `relaceRouterComponent` was removed
Expand Down

0 comments on commit bc7035c

Please sign in to comment.