Skip to content

Commit d2a4342

Browse files
committed
Rename advanced OptUI to adding to a list
Fixes #19
1 parent 31d1e71 commit d2a4342

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

react-docs/_config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ sidebar_categories:
2626
- auth
2727
- pagination
2828
- optimistic-ui
29-
- lists
3029
- prefetching
3130
- redux
3231
- server-side-rendering

react-docs/source/lists.md

-4
This file was deleted.

react-docs/source/optimistic-ui.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const CommentPageWithData = graphql(submitComment, {
4646

4747
We select `id` and `__typename` because that's what we configured `dataIdFromObject` to use to determine a globally unique object ID.
4848

49-
<h2 id="optimistic-advanced">Advanced optimistic updates</h2>
49+
<h2 id="optimistic-advanced">Adding to a list</h2>
5050

5151
In the example above, we showed how to seamlessly edit an existing object in the store with an optimistic mutation result. However, many mutations don't just update an existing object in the store, but they insert a new one.
5252

0 commit comments

Comments
 (0)