0.4.2: Use server-only package instead of custom environment detection
Previously, we checked for a RSC environment by testing for the presence of the createContext export in the react package.
That didn't work in some edge cases. Instead, now we use the server-only instead to make sure that registerApolloClient is only imported in a React Server Component context.
Thanks a ton to @leonchabbey for contributing this in #90!