[Question] Dynamic bindings
See original GitHub issueHi there!
Quick question as we are tossing up whether to upgrade to Firestore. Can you do dynamic bindings like you can in Vuefire? e.g. if you need to get the authenticated users UID and then use this to build your binding e.g. user/{uid}
, noting that an async call is made on the beforeCreate
so this information is not available at the time the Vue component is built. Is this possible in this library?
Thanks a lot!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Static vs Dynamic Binding in Java - GeeksforGeeks
The static binding uses Type information for binding while Dynamic binding uses Objects to resolve to bind. Overloaded methods are resolved ...
Read more >Static Binding and Dynamic Binding in Java - Javatpoint
When type of the object is determined at run-time, it is known as dynamic binding.
Read more >Newest 'dynamic-binding' Questions - Stack Overflow
I am Trying to do a Dynamic binding of form Controls from data base attributes and show automatically using API call in Angular...
Read more >What is Static and Dynamic binding in Java with Example
The difference between static and dynamic binding is a popular Java programming interview question that tries to explore candidates' knowledge on having ...
Read more >What is static and dynamic binding in Java - Wikitechy
What is static and dynamic binding in Java ? Answer : The binding which can be determined at compile time by compiler… 1...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@natezerk , I would like to inform you that vue-firestore is supporting the both of (collection/docs) in this new release
v0.2.0
, now you can bind your docs/collection in two ways, manually or via firestore option.$binding
function that return a promise.firestore
option.Thanks!!
Thanks for the great response. I like the sound of supporting bindings for docs. Thanks a lot mate.