Open phryneas opened 1 month ago
Path | Size |
---|---|
{ ApolloNextAppProvider, NextSSRApolloClient, NextSSRInMemoryCache } from '@apollo/experimental-nextjs-app-support/ssr' (Browser ESM) | 7.88 KB (+1.2% πΊ) |
{ WrapApolloProvider, ApolloClient, InMemoryCache } from '@apollo/client-react-streaming' (Browser ESM) | 1.5 KB (+7.48% πΊ) |
{ buildManualDataTransport } from '@apollo/client-react-streaming/manual-transport' (Browser ESM) | 6.36 KB (+1.5% πΊ) |
@apollo/client-react-streaming (Browser ESM) | 2.23 KB (+4.91% πΊ) |
@apollo/client-react-streaming (SSR ESM) | 2.58 KB (+47.44% πΊ) |
@apollo/client-react-streaming (RSC ESM) | 1.65 KB (+20.62% πΊ) |
@apollo/client-react-streaming/manual-transport (Browser ESM) | 6.55 KB (+1.5% πΊ) |
@apollo/client-react-streaming/manual-transport (SSR ESM) | 7.14 KB (+12.55% πΊ) |
@apollo/experimental-nextjs-app-support/ssr (Browser ESM) | 8.49 KB (+1% πΊ) |
@apollo/experimental-nextjs-app-support/ssr (SSR ESM) | 9.12 KB (+9.49% πΊ) |
@apollo/experimental-nextjs-app-support/ssr (RSC ESM) | 867 B (0%) |
@apollo/experimental-nextjs-app-support/rsc (RSC ESM) | 626 B (0%) |
ba35077(current) vs 882b4ed main#165(baseline)
[!WARNING] Bundle contains 1 duplicate package β View duplicate packages
Bundle metrics
9 changes
3 regressions
1 improvement
ββββββββββ | ββββββCurrent #172 |
βββββBaseline #165 |
---|---|---|
Initial JS | 898.47KiB (+0.89% ) |
890.59KiB |
Initial CSS | 70B (+100% ) |
0B |
Cache Invalidation | 88.27% |
0.03% |
Chunks | 29 (+20.83% ) |
24 |
Assets | 53 (+17.78% ) |
45 |
Modules | 528 (+3.13% ) |
512 |
Duplicate Modules | 47 (+56.67% ) |
30 |
Duplicate Code | 2.56% (+98.45% ) |
1.29% |
Packages | 26 (-10.34% ) |
29 |
Duplicate Packages | 1 |
1 |
3 changes
3 regressions
Bundle analysis reportβBranch pr/rsc-preloadβProject dashboard
Quick thought: we need some warning if people add cookies
or headers
to context
here as that could result in secrets to be dumped into the stream on accident.
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
apollo-client-nextjs-experimental-nextjs-app-support | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Apr 18, 2024 9:24am |
So here we have some previews:
https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/useSuspenseQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-useReadQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-refTest
On each you can call __APOLLO_CLIENT__[Symbol.for("apollo.suspenseCache")].queryRefs
to investigate the queryRefs (if there are any)
Okay, tests in Vercel run fine now, and the error in latest
is expected, since that AC release is still missing functionality we require.
I'll do another pass on everything here and then we should be ready for review π
Resolves #212 and also prepares for #248 a bit.
Previews:
https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/useSuspenseQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-useReadQuery https://apollo-git-32cae2-apollo-client-next-package-integration-tests.vercel.app//rsc/dynamic/PreloadQuery/queryRef-refTest
On each you can call
__APOLLO_CLIENT__[Symbol.for("apollo.suspenseCache")].queryRefs
to investigate the queryRefs (if there are any)