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

feat(recipes): apollo client cache #150

Merged
merged 9 commits into from
Jun 21, 2024

Conversation

frankcalise
Copy link
Contributor

@frankcalise frankcalise commented Mar 26, 2024

Why

Adds a how-to on how to set up Custom Commands in Reactotron, in this case for examining Apollo Client's in-memory cache

Note: I don't cover actually making GraphQL requests in here, but I guess we could incorporate a useQuery call if that feels necessary. This is more of a how to get access to the cache for my project I'm already doing in GraphQL in, rather than a lesson in how to make queries.

Recipe Preview

Export-1711472044286

Screenshots

image

image

image

image

image

image

@frankcalise frankcalise self-assigned this Mar 26, 2024
@frankcalise frankcalise marked this pull request as ready for review March 26, 2024 16:55
Copy link
Member

@cdanwards cdanwards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I was able to get this working quickly in a project. Just left a few nits to help with clarity about which files we're working in.

docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
docs/recipes/ApolloClientCache.md Outdated Show resolved Hide resolved
@frankcalise frankcalise merged commit f5e3c25 into main Jun 21, 2024
1 check passed
@frankcalise frankcalise deleted the feat/recipe-apollo-cache-reactotron branch June 21, 2024 19:17
cdanwards added a commit that referenced this pull request Jun 21, 2024
* feat(recipes): apollo client cache

* fix(apollo-client): screenshots

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

* Update docs/recipes/ApolloClientCache.md

Co-authored-by: Daniel Edwards <[email protected]>

---------

Co-authored-by: Daniel Edwards <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants