Skip to content

Commit

Permalink
Merge pull request #7773 from mfaywu/fay/fix-3.x-fields-doc
Browse files Browse the repository at this point in the history
Fix `Fields` doc reference to `getMany()` usage in v3.x
  • Loading branch information
fzaninotto authored Jun 2, 2022
2 parents 67b5f1a + 04835c4 commit 355ecaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ You can also use a custom `link` function to get a custom path for the children.
]
```

Then react-admin renders the `<PostList>` with a loader for the `<ReferenceField>`, fetches the API for the related users in one call (`GET http://path.to.my.api/users?ids=[789,735]`), and re-renders the list once the data arrives. This accelerates the rendering and minimizes network load.
Then react-admin renders the `<PostList>` with a loader for the `<ReferenceField>`, fetches the API for the related users in one call (`GET http://path.to.my.api/users?filter={"ids":[789,735]}`), and re-renders the list once the data arrives. This accelerates the rendering and minimizes network load.

### `<ReferenceManyField>`

Expand Down

0 comments on commit 355ecaa

Please sign in to comment.