firebase-element
firebase-element copied to clipboard
When do you think you should be ready for production?
I've been struggling to get the firebase element working for about 6 months now and I'm still struggling sometimes just writing data to new location or knowing whether to use collection or document it's still confusing. I got Scott miles to help me out at the polymer conference and it seem to be working then and now I'm back home and I still have the same problem. I'm thinking at the moment I should write my JavaScriptAPI from firebase directly and not try to use this element is that right?
:+1: Amen to this my friend....
demo http://jsbin.com/tufeva/edit?html,console,output
Agreed, the docs for these elements could definitely be better but there are a couple of things wrong with your bin:
- you have a dom-module and import defined outside of your
<html> - you should bind the input to
{{data.hi::input}} firebase-documenthas alocationproperty. Not aurlproperty.- your demo will redefine
data.hion every page load. I think you probably want to use the value if one exists in FB...?
http://jsbin.com/rocelexuya/edit?html,output is more of what you want, although still not perfect. I'm no FB expert.
/sub +1 for a better documentation!!!
I will take a look.