Change8

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.1

Breaking Changes
📦 apollo-clientView on GitHub →
1 breaking🔧 1 symbols

Summary

The `gql` export was removed from `@apollo/client/react`; import it from `@apollo/client` instead.

⚠️ Breaking Changes

  • Export of `gql` was removed from `@apollo/client/react`. Code importing `gql` from that entrypoint will break. Update imports to `@apollo/client` instead.

Migration Steps

  1. Replace any `import { gql } from '@apollo/client/react'` with `import { gql } from '@apollo/client'`.

🔧 Affected Symbols

gql