Case Study: Apollo Client 4.0 #62
Replies: 2 comments 2 replies
-
One concern that comes up pretty quick is versioning: We cannot add a dependency to In this example,
So actually, right now, This scheme makes package versions unpredictable and For now, we'll have to pin the (Note that I already reported this behaviour with the React canary builds and was told that it was intentional to make |
Beta Was this translation helpful? Give feedback.
-
Another observation from a library perspective is the fact that the compiler plugin adds |
Beta Was this translation helpful? Give feedback.
-
I'm currently evaluating if we can/should ship version 4.0 of Apollo Client with pre-compiled hooks.
Our current release target is RC state in May and final release in June.
I thought I'll open a thread here and document the whole thing a bit, and call out some questions that come up.
The PR for enabling the compiler is apollographql/apollo-client#12499
and the "Compare Build Output / Compare Build Output" CI step will always contain the diff between upstream & compiled.
You can see a diff here: https://github.com/apollographql/apollo-client/actions/runs/14172911524?pr=12499
Beta Was this translation helpful? Give feedback.
All reactions