apollographql / apollo-client-nextjs

Apollo Client support for the Next.js App Router
https://www.npmjs.com/package/@apollo/experimental-nextjs-app-support
MIT License
358 stars 25 forks source link

Allow using the browser build of `ApolloNextAppProvider` outside of Next.js, e.g. for tests. #284

Closed phryneas closed 1 day ago

phryneas commented 3 weeks ago

Closes #283

vercel[bot] commented 3 weeks ago

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 16, 2024 11:31am
phryneas commented 3 weeks ago

/release:pr

github-actions[bot] commented 3 weeks ago

A new release has been made for this PR. You can install the package you need using one of

github-actions[bot] commented 3 weeks ago

size-limit report πŸ“¦

Path Size
{ ApolloNextAppProvider, NextSSRApolloClient, NextSSRInMemoryCache } from '@apollo/experimental-nextjs-app-support/ssr' (Browser ESM) 7.78 KB (0%)
{ WrapApolloProvider, ApolloClient, InMemoryCache } from '@apollo/client-react-streaming' (Browser ESM) 1.4 KB (0%)
{ buildManualDataTransport } from '@apollo/client-react-streaming/manual-transport' (Browser ESM) 6.27 KB (0%)
@apollo/client-react-streaming (Browser ESM) 2.13 KB (0%)
@apollo/client-react-streaming (SSR ESM) 1.75 KB (0%)
@apollo/client-react-streaming (RSC ESM) 1.36 KB (0%)
@apollo/client-react-streaming/manual-transport (Browser ESM) 6.45 KB (0%)
@apollo/client-react-streaming/manual-transport (SSR ESM) 6.34 KB (0%)
@apollo/experimental-nextjs-app-support/ssr (Browser ESM) 8.41 KB (0%)
@apollo/experimental-nextjs-app-support/ssr (SSR ESM) 8.4 KB (+0.86% πŸ”Ί)
@apollo/experimental-nextjs-app-support/ssr (RSC ESM) 867 B (0%)
@apollo/experimental-nextjs-app-support/rsc (RSC ESM) 626 B (0%)
relativeci[bot] commented 3 weeks ago

#178 Bundle Size β€” 1.01MiB (+0.09%).

3235cde(current) vs 882b4ed main#165(baseline)

[!WARNING] Bundle contains 1 duplicate package – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#178
     Baseline
#165
Regression  Initial JS 891.55KiB(+0.11%) 890.59KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 49.14% 0.03%
No change  Chunks 24 24
No change  Assets 45 45
No change  Modules 512 512
No change  Duplicate Modules 30 30
No change  Duplicate Code 1.29% 1.29%
No change  Packages 29 29
No change  Duplicate Packages 1 1

Bundle size by type  Change 1 change Regression 1 regression
|            |       Current
[#178](https://app.relative-ci.com/projects/fukE5WxC5RnzLcZncFJw/jobs/178-l1iVbG4F8zbD1N3RGdiK?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#165](https://app.relative-ci.com/projects/fukE5WxC5RnzLcZncFJw/jobs/165-NMvFXdO7ksS6o1DOjVdN?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Regression  [JS](https://app.relative-ci.com/projects/fukE5WxC5RnzLcZncFJw/jobs/178-l1iVbG4F8zbD1N3RGdiK/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `1MiB` (`+0.09%`) | `1023.85KiB` | | No change  [Other](https://app.relative-ci.com/projects/fukE5WxC5RnzLcZncFJw/jobs/178-l1iVbG4F8zbD1N3RGdiK/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-1%22%7D "View Other assets") | `5.99KiB` | `5.99KiB` |

Bundle analysis report Branch pr/allow-browser-build-outside-n... Project dashboard

netlify[bot] commented 1 day ago

Deploy Preview for apollo-client-nextjs-docmodel ready!

Name Link
Latest commit 3235cde35be15976f876cb063cc9893bc3e0e7e8
Latest deploy log https://app.netlify.com/sites/apollo-client-nextjs-docmodel/deploys/663b7b35542b7c00081dae6b
Deploy Preview https://deploy-preview-284--apollo-client-nextjs-docmodel.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.