nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
956 stars 198 forks source link

Nuxt 3 #413

Closed productdevbook closed 2 years ago

productdevbook commented 3 years ago

Will there be an update when nuxt 3 comes out?

chaitb commented 3 years ago

Any plans to support Nuxt3, as it has been released in Public Beta now?

ruslansteiger commented 3 years ago

You can check the status here: https://github.com/nuxt/framework/discussions/751

mfreeman451 commented 3 years ago

Any comments about this, I know it is being tracked but that doesn't tell us anything..

productdevbook commented 3 years ago

example apollo vue used. https://github.com/productdevbook/productdevbook.com

I'm still in the development phase.

HelloAlexPan commented 2 years ago

Has there been any updaters here? Our company is starting a fresh project on Nuxt 3 and have the capacity to help work on a Nuxt 3 build if there are any tasks that need to be completed

PTiCA1 commented 2 years ago

Any update? Or info to update to apollo v4?

yacosta738 commented 2 years ago

Any update or info to support Nuxt 3

bitmoji

bp-janelle commented 2 years ago

Any movement on this?

dargmuesli commented 2 years ago

Guys and girls, I'll personally make sure to have you pinged once there is progress. You can refrain from asking once more with all available peace of mind, avoiding pings for anyone interested.

dargmuesli commented 2 years ago

Here it is, the promised ping: I migrated the module to Apollo client v3 and updated all dependencies to their most recent versions. That migration was successful per se, but SSR failed. The server sent the correct result, then the client detected a diff to its state, forced a refetch and got stuck in the loading state. Fun, and frustrating. After lots of research, I found a couple of likely matching issues on GitHub [1] [2] that are open for 2 or 3 years now. It sounds like it could work for React, but we're speaking about Vue here.

It seems like @Diizzayy found another way, with a PR coming though! We'll keep you posted. Whoever's up for testing that PR, feel free to give a ping back! :)

[1] https://github.com/vuejs/apollo/issues/585 [2] https://github.com/apollographql/apollo-client/issues/6631

dargmuesli commented 2 years ago

Here it is, the PR for Apollo module's Nuxt 3 support: https://github.com/nuxt-community/apollo-module/pull/430 🥳 go ahead and give feedback! :)