Skip to content

Commit

Permalink
docs: update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Apr 30, 2023
1 parent 4276b10 commit 07d6aa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/react/guides/migrating-to-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ You can adjust the `maxPages` value according to the UX and refetching performan

Note that the infinite list must be bi-directional, which requires both `getNextPageParam` and `getPreviousPageParam` to be defined.

### Typesafe way to create Query Options

See the [Typescript Docs](../typescript#typing-query-options) for more details.

### CreateStore

We are now exposing a way to customize how queries are stored internally. Per default, a `Map` is used but, with the new `createStore` function, you can now use any data structure you want.
Expand Down

0 comments on commit 07d6aa9

Please sign in to comment.