Skip to content

Commit bda3295

Browse files
authored
Docs: Fix grammar (#8282)
1 parent d1928a1 commit bda3295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/getting-started/concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ params.get("popular"); // "true"
201201
params.toString(); // "campaign=instagram&popular=true",
202202
```
203203

204-
When being precise, refer to the serialized string version as "search" and the parsed version as "search params", but its common to use the terms interchangeably when precision isn't important.
204+
When being precise, refer to the serialized string version as "search" and the parsed version as "search params", but it's common to use the terms interchangeably when precision isn't important.
205205

206206
**Location Hash**
207207

@@ -417,7 +417,7 @@ That's right, two of them!
417417

418418
React Router has to make a decision here, there can be only one. Many routers, both client side and server side, will simply process the patterns in the order in which they were defined. First to match wins. In this case we would match `/` and render the `<Home/>` component. Definitely not what we wanted. These kinds of routers require us to order our routes perfectly to get the expected result. This is how React Router has worked up until v6, but now it’s much smarter.
419419

420-
Looking at those patterns, you intuitively know that we want `/teams/new` to match the URL `/teams/new`. It's a perfect match! React Router also knows that. When matching, it will rank your routes according the number of segments, static segments, dynamic segments, star patterns, etc. and pick the most specific match. You never have to think about ordering your routes.
420+
Looking at those patterns, you intuitively know that we want `/teams/new` to match the URL `/teams/new`. It's a perfect match! React Router also knows that. When matching, it will rank your routes according the number of segments, static segments, dynamic segments, star patterns, etc. and pick the most specific match. You'll never have to think about ordering your routes.
421421

422422
### Pathless Routes
423423

0 commit comments

Comments
 (0)