You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks again for sharing Pup. It's awesome and continues to stands alone in providing this breadth of full-stack superpowers. I was pleased to discover that you intend to continue work on Pup, including an upgrade to Meteor 2. Bravo.
On the topic of upgrades, I'm in the middle of upgrading Apollo, in Pup, to allow use of the useMutation hook and its friends. I'm stuck in module hell and a bit overwhelmed.
I'd enjoy hearing from anyone who has gone down this Apollo upgrade path or has an interest in it.
The text was updated successfully, but these errors were encountered:
I was able to solve the build and runtime issues - the app works again. I haven't yet replaced the Mutation component with useMutation but I now have recent Apollo libs. Here they are:
notes:
I was able to remove react-apollo and others
I didn't manually set versions
I haven't confirmed they're all required
The conversion required a couple dozen minor changes to imports. Here are some highlights:
change apollo/client to @apollo/client
Importing compose and graphql is now done so:
import {graphql} from '@apollo/client/react/hoc';
import {flowRight as compose} from 'lodash'; // apollo no longer keeps a copy of flowRight named compose
Here are some other changed imports:
import { renderToStringWithData } from '@apollo/client/react/ssr';
import { ApolloProvider } from '@apollo/client'
I hope this helps somebody get over the hump, or at least know it's feasible.
Hi,
Thanks again for sharing Pup. It's awesome and continues to stands alone in providing this breadth of full-stack superpowers. I was pleased to discover that you intend to continue work on Pup, including an upgrade to Meteor 2. Bravo.
On the topic of upgrades, I'm in the middle of upgrading Apollo, in Pup, to allow use of the useMutation hook and its friends. I'm stuck in module hell and a bit overwhelmed.
I'd enjoy hearing from anyone who has gone down this Apollo upgrade path or has an interest in it.
The text was updated successfully, but these errors were encountered: