firebase-element
firebase-element copied to clipboard
Using components of firebase-element together (and provide example documentation)
I would like to use firebase-auth to login and then load the elements for a firebase-collection or firebase-document. But, firebase-collection and firebase-document automatically run once the DOM is loaded, meaning that the auth is supposed to happen on a previous page and then be persisted across pages, I presume?
An example of using these components together would go a loooooong way for me, selfishly (but I would presume others would benefit as well). Something like
- Auth with email & password
- Use the user's
uidin a query tofirebase-collectionorfirebase-element - Display the result of the query
Maybe something like this exists and I'm unaware?
you can take a look here: https://metanov.github.io/firebase-element-extended/components/firebase-element-extended/
@MeTaNoV, thanks for the link! Checking it out now...