I'm creating a global datastore <datastore /> web component for my Polymer application. It is responsible to retrieve/alter data from/on a server.
The datastore itself offers functions like get(query), set(object, attributes), create(attributes) and delete(object).
What would be the "WebComponent" way to use the <datastore> to offer data for other components? I'm also curious about how to two-way databinding could work between the datastore and other components.
Did you check out the firebase element? https://github.com/GoogleWebComponents/firebase-element It provides the same functionalities as you described but with the services of Firebase.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With