Skip to content

Commit 1945254

Browse files
committed
Review
1 parent a2fbfb6 commit 1945254

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/WithListContext.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ As a reminder, the [`ListContext`](./useListContext.md) is an object with the fo
134134

135135
## Availability
136136

137-
Whenever you use a react-admin component fetching a list of records, react-admin stores it in a [`ListContext`](./useListContext.md). This means that `<WithListContext>` works out of the box:
137+
Whenever you use a react-admin component to fetch a list of records, react-admin stores the data in a [`ListContext`](./useListContext.md). Consequently, `<WithListContext>` works in any component that is a descendant of:
138138

139-
- in descendants of the [`<List>`](./ListBase.md), [`<InfiniteList>`](./InfiniteList.md), and [`<ListBase>`](./ListBase.md) components
140-
- in descendants of the [`<ArrayField>`](./ArrayField.md) component
141-
- in descendants of the [`<ReferenceManyField>`](./ReferenceManyField.md) component
142-
- in descendants of the [`<ReferenceArrayField>`](./ReferenceArrayField.md) component
139+
- the [`<List>`](./ListBase.md), [`<InfiniteList>`](./InfiniteList.md), and [`<ListBase>`](./ListBase.md) components
140+
- the [`<ArrayField>`](./ArrayField.md) component
141+
- the [`<ReferenceManyField>`](./ReferenceManyField.md) component
142+
- the [`<ReferenceArrayField>`](./ReferenceArrayField.md) component
143143

144144
## Building a Chart
145145

0 commit comments

Comments
 (0)