Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remaining AC3 documentation updates #6429

Merged
merged 53 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1bc7aff
Adjust explore section to align with top level docs sections
hwillson Mar 2, 2020
9593336
Remove Pupstagram references
hwillson Mar 2, 2020
e03ed55
Update `new ApolloClient` examples to include a cache
hwillson Jul 13, 2020
c18ad5f
Replace intro `cacheRedirects` example with `TypePolicies`
hwillson Mar 2, 2020
4f75961
Updates to use the AC3 ready Coinbase example
hwillson Mar 3, 2020
d447d24
Wire updated example apps into Queries section
hwillson Mar 3, 2020
8130403
Adjust the intro mutations section to use cache.modify
hwillson Mar 4, 2020
29da64d
Prepare local state section for cache policies + reactive vars
hwillson Jun 10, 2020
264b4cc
Add local resolver deprecation warning to local resolvers section
hwillson Jun 11, 2020
220fdf6
Add reactive variables section
hwillson Jun 11, 2020
dbe5b5f
Initial querying local state content
hwillson Jun 11, 2020
6f0b340
Initialize the cache + local data query flow with field policies
hwillson Jun 11, 2020
bd81162
Add "Handling @client fields with field policies" section
hwillson Jun 15, 2020
97c600a
Add "Integrating `@client` into remote queries" section
hwillson Jun 16, 2020
4233175
Update `cache.evict()` examples to use `EvictOptions`
hwillson Jun 16, 2020
43e84de
Remove broken Meteor integration docs
hwillson Jun 16, 2020
b79a533
Update to the latest docs theme
hwillson Jun 17, 2020
43f02f5
Fix broken links
hwillson Jun 16, 2020
084be4e
Remove Apollo Component code samples
hwillson Jun 17, 2020
767ff4d
Remove no longer valid local state fragment link
hwillson Jun 17, 2020
7956b77
Add dangling references section
hwillson Jun 18, 2020
fc6b63a
Explain `cache.identify`
hwillson Jun 18, 2020
777ba26
Add modifying fields (cache.modify) section
hwillson Jun 19, 2020
4979f99
Updated "Handling `@client` fields with the cache" section
hwillson Jun 19, 2020
3b50bbf
Update "Using `@client` fields as variables" section
hwillson Jun 19, 2020
d7f5b26
New "Using reactive variables to track `@client` state" section
hwillson Jun 20, 2020
0471737
Re-arrange the local state section
hwillson Jun 23, 2020
eca608a
Fully replace `cacheRedirects` examples with field policies
hwillson Jun 25, 2020
22bd499
Remove broken query splitting section
hwillson Jun 25, 2020
9f5e066
Update to latest docs theme
hwillson Jun 30, 2020
d9a2955
New `InMemoryCache` API section
hwillson Jun 26, 2020
8bdf676
Edits to local state overview
Jun 30, 2020
fb90369
Incorporate review from hwillson
Jun 30, 2020
cdd7c89
Update to the latest docs theme
hwillson Jun 17, 2020
fee5638
Update to latest docs theme
hwillson Jun 25, 2020
20227d6
WIP on Managing state with field policies
Jul 1, 2020
905f1a3
More WIP on managing state with field policies
Jul 2, 2020
7ba4f68
Get local-only fields article ready for review
Jul 2, 2020
8cca447
Refactor some content
Jul 7, 2020
523cf24
In-progress edits to core caching articles
Jul 7, 2020
a6cead7
Clarify use of cache.identify
Jul 7, 2020
182f60d
Clarify local-only field content
Jul 7, 2020
7fbe7a1
Fold querying and updating into local-only fields article
Jul 8, 2020
1b4451f
Fix broken links
Jul 8, 2020
2524fa4
Updates to reactive variables article
Jul 9, 2020
fefe916
Fix a word
Jul 9, 2020
ba40a80
Miscellaneous IA and formatting cleanup
Jul 10, 2020
bdc71e1
Edits to AC intro and getting started
Jul 11, 2020
bf9d073
Add missing dependency for ink
Jul 11, 2020
3079d15
Fix broken links
Jul 13, 2020
97457cc
update link checking exceptions and add redirect
Jul 13, 2020
64c725b
Add some missing dependencies
Jul 13, 2020
69f2951
Add a redirect for 3.0 beta docs to root
trevorblades Jul 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Pupstagram references
Pupstagram is no longer an officially supported demo app, and the
code samples extracted from it work well enough by themselves in
the docs.
  • Loading branch information
hwillson committed Jul 14, 2020
commit 9593336b3bc92a7ef91a83d4f4af28d869722a6c
2 changes: 1 addition & 1 deletion docs/source/performance/performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cacheRedirects: {

Prefetching is one of the easiest ways to make your application's UI feel a lot faster with Apollo Client. Prefetching simply means loading data into the cache before it needs to be rendered on the screen. Essentially, we want to load all data required for a view as soon as we can guess that a user will navigate to it.

We can accomplish this in only a few lines of code by calling `client.query` whenever the user hovers over a link. Let's see this in action in the `Feed` component in our example app [Pupstagram](https://codesandbox.io/s/r5qp83z0yq).
We can accomplish this in only a few lines of code by calling `client.query` whenever the user hovers over a link.

<MultiCodeBlock>
<div data-language="hooks-js">
Expand Down
4 changes: 2 additions & 2 deletions docs/source/why-apollo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Why choose Apollo Client to manage your data?

import { MultiCodeBlock } from 'gatsby-theme-apollo-docs';

Data management shouldn't have to be so difficult! If you're wondering how to simplify managing remote and local data in your React application, then you've come to the right place. Through practical examples inspired by our [example app Pupstagram](https://codesandbox.io/s/r5qp83z0yq), you'll learn how Apollo's intelligent caching and declarative approach to data fetching can help you iterate faster while writing less code. Let's jump right in! 🚀
Data management shouldn't have to be so difficult! If you're wondering how to simplify managing remote and local data in your React application, then you've come to the right place. Throughout this documentation, you'll learn how Apollo's intelligent caching and declarative approach to data fetching can help you iterate faster while writing less code. Let's jump right in! 🚀

## Declarative data fetching

Expand Down Expand Up @@ -51,7 +51,7 @@ You'll find that when you switch to Apollo Client, you'll be able to delete a lo

## Zero-config caching

One of the key features that sets Apollo Client apart from other data management solutions is its normalized cache. Just by setting up Apollo Client, you get an intelligent cache out of the box with no additional configuration required. From the home page of the [Pupstagram example app](https://codesandbox.io/s/r5qp83z0yq), click one of the dogs to see its detail page. Then, go back to the home page. You'll notice that the images on the home page load instantaneously, thanks to the Apollo cache.
One of the key features that sets Apollo Client apart from other data management solutions is its normalized cache. Just by setting up Apollo Client, you get an intelligent cache out of the box with no additional configuration required.

```js
import { ApolloClient } from '@apollo/client';
Expand Down