Skip to content

Commit a8d6f1f

Browse files
authored
Merge pull request #1032 from PrinceRajRoy/PrinceRajRoy-patch-1
2 parents 486ff16 + eac2e44 commit a8d6f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/usage-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is good in some cases, because it gives you flexibility, but that flexibili
1515

1616
As described in the [Quick Start](../introduction/getting-started.md) page, the goal of Redux Toolkit is to help simplify common Redux use cases. It is not intended to be a complete solution for everything you might want to do with Redux, but it should make a lot of the Redux-related code you need to write a lot simpler (or in some cases, eliminate some of the hand-written code entirely).
1717

18-
Redux Toolkit exports several individual functions that you can use in your application, and adds dependencies on some other packages that are commonly used with Redux. This lets you decide how to use these in your own application, whether it be a brand new project or updating a large existing app.
18+
Redux Toolkit exports several individual functions that you can use in your application, and adds dependencies on some other packages that are commonly used with Redux (like Reselect and Redux-Thunk). This lets you decide how to use these in your own application, whether it be a brand new project or updating a large existing app.
1919

2020
Let's look at some of the ways that Redux Toolkit can help make your Redux-related code better.
2121

@@ -1007,7 +1007,7 @@ export const usersAdapter = createEntityAdapter({
10071007
`createEntityAdapter` provides a `sortComparer` argument that you can leverage to sort the collection of `ids` in state. This can be very useful for when you want to guarantee a sort order and your data doesn't come presorted.
10081008

10091009
```js
1010-
// In this instance, our user data always has a primary key of `idx`
1010+
// In this instance, our user data always has a primary key of `id`, so we do not need to provide `selectId`.
10111011
const userData = {
10121012
users: [
10131013
{ id: 1, first_name: 'Test' },

0 commit comments

Comments
 (0)