apollo-client icon indicating copy to clipboard operation
apollo-client copied to clipboard

`cloneDeep`: use `structuredClone` in platforms where that's possible

Open phryneas opened this issue 8 months ago • 5 comments

phryneas avatar Mar 27 '25 17:03 phryneas

🦋 Changeset detected

Latest commit: 8662e5846b556bdb44b0f9bbe1ee90b3890336b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@apollo/client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Mar 27 '25 17:03 changeset-bot[bot]

⚠️ Docs preview not attached to branch

The preview was not built because the PR's base branch release-4.0 is not in the list of sources.

An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:

  • !docs set-base-branch version-2.6
  • !docs set-base-branch main

Build ID: 7e4b66d1ad35243c92a6ccf3

svc-apollo-docs avatar Mar 27 '25 17:03 svc-apollo-docs

npm i https://pkg.pr.new/@apollo/client@12491

commit: 8662e58

pkg-pr-new[bot] avatar Mar 27 '25 17:03 pkg-pr-new[bot]

Deploy Preview for apollo-client-docs ready!

Name Link
Latest commit 8662e5846b556bdb44b0f9bbe1ee90b3890336b0
Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/67e589152e4f8b0008843a19
Deploy Preview https://deploy-preview-12491--apollo-client-docs.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.

netlify[bot] avatar Mar 27 '25 17:03 netlify[bot]

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 41.13 KB (-0.22% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 36.66 KB (-0.1% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 31.75 KB (-0.26% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 26.71 KB (-0.54% 🔽)
import { ApolloProvider } from "@apollo/client/react" 5.17 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 960 B (0%)
import { useQuery } from "@apollo/client/react" 7.14 KB (0%)
import { useQuery } from "@apollo/client/react" (production) 2.89 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 6.39 KB (0%)
import { useLazyQuery } from "@apollo/client/react" (production) 2.17 KB (0%)
import { useMutation } from "@apollo/client/react" 6.46 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 2.23 KB (0%)
import { useSubscription } from "@apollo/client/react" 6.83 KB (0%)
import { useSubscription } from "@apollo/client/react" (production) 2.62 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" 8.21 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" (production) 4 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 8.06 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.83 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" 8.06 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.87 KB (0%)
import { useReadQuery } from "@apollo/client/react" 5.83 KB (0%)
import { useReadQuery } from "@apollo/client/react" (production) 1.61 KB (0%)
import { useFragment } from "@apollo/client/react" 5.89 KB (0%)
import { useFragment } from "@apollo/client/react" (production) 1.66 KB (0%)

github-actions[bot] avatar Mar 27 '25 17:03 github-actions[bot]

Doesn't seem worth it right now.

phryneas avatar Jun 27 '25 08:06 phryneas