diff --git a/docs/Actions.md b/docs/Actions.md index a701b6843f0..9896b09cff2 100644 --- a/docs/Actions.md +++ b/docs/Actions.md @@ -124,7 +124,7 @@ Internally, react-admin uses [react-query](https://tanstack.com/query/v3/) to ca 1. It triggers the loader in the AppBar when the query is running. 2. It reduces the boilerplate code since you don't need to use `useState`. 3. It supports a vast array of options -3. It displays stale data while fetching up-to-date data, leading to a snappier UI +4. It displays stale data while fetching up-to-date data, leading to a snappier UI React-query offers 2 main hooks to interact with the dataProvider: diff --git a/docs/Edit.md b/docs/Edit.md index 953cdacbc75..0964b841624 100644 --- a/docs/Edit.md +++ b/docs/Edit.md @@ -772,4 +772,4 @@ export const PostEdit = () => ( ); ``` -**Tips:** If you want users to be warned if they haven't pressed the Save button when they browse to another record, you can follow the tutorial [Navigating Through Records In`` Views](./PrevNextButtons.md#navigating-through-records-inedit-views-after-submit). \ No newline at end of file +**Tips:** If you want users to be warned if they haven't pressed the Save button when they browse to another record, you can follow the tutorial [Navigating Through Records In`` Views](./PrevNextButtons.md#navigating-through-records-in-edit-views-after-submit). diff --git a/docs/Reference.md b/docs/Reference.md index 9918ea5858f..536d41e3f84 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -249,6 +249,7 @@ title: "Index" * [`useGetOneLive`](./useGetOneLive.md) * [`useGetPermissions`](./WithPermissions.md) * [`useGetRecordId`](./useGetRecordId.md) +* [`useGetRecordRepresentation`](./useGetRecordRepresentation.md) **- I -** * [`useInfiniteGetList`](./useInfiniteGetList.md) @@ -278,7 +279,6 @@ title: "Index" **- R -** * [`useRecordContext`](./useRecordContext.md) -* [`useRecordRepresentation`](./useRecordRepresentation.md) * [`useRedirect`](./useRedirect.md) * [`useReference`](./useGetOne.md#aggregating-getone-calls) * [`useRefresh`](./useRefresh.md) diff --git a/docs/Show.md b/docs/Show.md index 3e3a5758289..3c1284e12a4 100644 --- a/docs/Show.md +++ b/docs/Show.md @@ -516,7 +516,7 @@ export const PostShow = () => ( ); ``` -**Tips:** If you want the `` to link to the `` view, you have to set the `linkType` to `show`. See [the `` prop](./PrevNextButtons.md##linktype). +**Tips:** If you want the `` to link to the `` view, you have to set the `linkType` to `show`. See [the `` prop](./PrevNextButtons.md#linktype). ## API diff --git a/docs/SimpleShowLayout.md b/docs/SimpleShowLayout.md index 228d4fe34ca..e83b9b1320c 100644 --- a/docs/SimpleShowLayout.md +++ b/docs/SimpleShowLayout.md @@ -27,7 +27,7 @@ const PostShow = () => ( ## Props -* [`children`](#fields): components rendering a record field +* [`children`](#children): components rendering a record field * `className`: passed to the root component * [`divider`](#divider): optional element to render between each field * [`record`](#controlled-mode): can be injected when outside a RecordContext