Change8

@apollo/client@4.3.0-alpha.11

📦 apollo-clientView on GitHub →
1 features🔧 2 symbols

Summary

Introduced `skipToken` for `useSubscription` to enhance type safety when skipping subscriptions with required variables. Also, removed the custom `NoInfer` type utility in favor of the native TypeScript 5.4 version.

Migration Steps

  1. Replace usage of the custom `NoInfer` type utility with the native `NoInfer` from TypeScript 5.4.

✨ New Features

  • Support `skipToken` with `useSubscription` for a more type-safe way to skip subscription execution with required variables.

Affected Symbols