Coder Social home page Coder Social logo

firevuex's People

Contributors

granipouss avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

scharinger

firevuex's Issues

How to get use Auth

Hi!
I like you tool so far, thank you! I'm using the database and it work fine. Now I would like to get started with the auth, but I'm getting an error of auth/signInWithEmailAndPassword not being an action available.
This is how I thought it should work by reading the source:
image
image
image
It seems as the store gets the getters for the user at least. Here I've logged in with the console:
image
I exposed the firebase app object to the stores state in fb for testing (rather ugly):
image

Handle promise from auth().signInWithPopup(provider)

Hi,

I'm trying to approve my app some so the user does not have to reload the page after signing in.

After you sign in with the method auth().signInWithPopup(provider) in row 15 in auth.js nothing happens as it seems the user (this.$store.getters['auth/getUser']) does not react. I think it is because of the promise returned from auth().signInWithPopup(provider) is not handled, but I'm not sure. What would you say?

EDIT: I think my issue lies somewhere else actually. The user property of auth does get set after login. But components computed using the user property don't react on it.

image

image

The computed users property is null because unauthorized users don't have read access, but if I reload the page after authenticated the users list is retrieved. So the question is, how do recompute all computed values after auth user is changed?

Best regards, Tim

Updated the source?

Hi again! Wanted do some updates to the code in this project, got latest but the package.json says 2.2.0 and the npm package 3.0.0. Is the source outdated? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.