Skip to content

Vue3 / Firebase 8 support #1088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gqoew opened this issue May 20, 2021 · 9 comments
Closed

Vue3 / Firebase 8 support #1088

gqoew opened this issue May 20, 2021 · 9 comments

Comments

@gqoew
Copy link

gqoew commented May 20, 2021

Hello 👋

First, let me thank you for building this amazing library. Vuefire is great

I see in the README file that you are working on the support for Vue 3 / Composition API and Firebase 8.
Can you provide us with more details on a potential release date?

Thanks!

@jaytonic
Copy link

I've the same issue, I've to start soon a new project where the backend has to be firebase, I wish I could use composition API. Any idea this will released?

@mhirsch

This comment has been minimized.

@jaytonic
Copy link

jaytonic commented Jun 7, 2021

@mhirsch and @gqoew Checking the commit history, I'm a bit concerned that vuefire seems to be unmaintained since the end of 2020 😭

@posva
Copy link
Member

posva commented Jun 7, 2021

The v3 of Vuefire should work with Vue 2/3 (Composition API) and Firebase 8: https://github.com/vuejs/vuefire/tree/v3

I wish I could give this package more time but the truth is I've never received funding from any company using Vuefire, nor Firebase/Google so I currently prioritize the other packages I help with: Vue, Vue Router, vitepress, pinia, etc
I will likely be able to work more on Vuefire during July or August.

@posva posva closed this as completed Jun 7, 2021
@jaytonic
Copy link

jaytonic commented Jun 7, 2021

@posva I'm sorry, I'm quite new to this ecosystem, but is this something I can use through NPM? Or it's some kind of manual install?

@posva
Copy link
Member

posva commented Jun 7, 2021

You can use it with npm install vuefire@next. You will need to check the examples as I haven't been able to update the docs yet https://github.com/vuejs/vuefire/blob/v3/examples/firestore.html

@mhirsch
Copy link

mhirsch commented Jun 7, 2021

Seems a little harsh to mark my comment as spam -- there's dependency rot on the main published version of the package. How is pointing that out spam?

@ghost
Copy link

ghost commented Jun 9, 2021

Maybe skip v8 and go with v9 then?
https://firebase.google.com/docs/web/modular-upgrade

The fully modularized version 9 has these advantages over earlier versions:

  • Version 9 enables a dramatically reduced app size. It adopts the modern JavaScript Module format, allowing for "tree shaking" practices in which you import only the artifacts your app needs. Depending on your app, tree-shaking with version 9 can result in 80% less kilobytes than a comparable app built using version 8.
  • Version 9 will continue to benefit from ongoing feature development, while version 8 will be frozen at a point in the future.

@ramsrib
Copy link

ramsrib commented Jun 18, 2021

v9 doesn't support firebase-ui yet, so that might be a blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants