-
Notifications
You must be signed in to change notification settings - Fork 36
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: mutate shortcut #396
base: main
Are you sure you want to change the base?
Conversation
👷 Deploy request for apollo-client-nextjs-docmodel pending review.Visit the deploys page to approve it
|
commit: |
#346 Bundle Size — 1.25MiB (+0.01%).07b01ac(current) vs 9d0a77a main#331(baseline) Warning Bundle contains 1 duplicate package – View duplicate packages Bundle metrics
|
Current #346 |
Baseline #331 |
|
---|---|---|
Initial JS | 1016.91KiB (+0.01% ) |
1016.77KiB |
Initial CSS | 70B |
70B |
Cache Invalidation | 24.94% |
0.08% |
Chunks | 34 |
34 |
Assets | 59 |
59 |
Modules | 636 |
636 |
Duplicate Modules | 106 |
106 |
Duplicate Code | 4.66% |
4.66% |
Packages | 26 |
26 |
Duplicate Packages | 1 |
1 |
Bundle size by type 1 change
1 regression
Current #346 |
Baseline #331 |
|
---|---|---|
JS | 1.24MiB (+0.01% ) |
1.24MiB |
Other | 9.09KiB |
9.09KiB |
CSS | 70B |
70B |
Bundle analysis report Branch Netail:feat/mutate-shortcut Project dashboard
Generated by RelativeCI Documentation Report issue
Hi @Netail, thank you for the PR! Before I get this merged, I'll have to do some investigation - I very roughly remember that the behaviour of I hope I can get to that next week, so please have a bit of patience :) |
That's completely fine, please let me know, we current use getClient().mutate with NextJS 14.2.x without issues, but could ofc be different with Next 15 :) |
|
Name | Type |
---|---|
@apollo/client-react-streaming | Patch |
@apollo/experimental-nextjs-app-support | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
As there's a query shortcut, it would be nice to have a mutate shortcut as well. Used in server actions :)