-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polymer 3.0 support #261
Comments
I would like to try creating a PR over the week and see if it is going to be merged. |
Oh wait... it uses some sort of builder. I think the Polymer team has that builder that auto-updates it to Polymer 3.0 standards... |
This element will be auto-upgraded once the modulizer is more robust. |
Hi, when polymerfire will publish to npm ? |
I took a look at this trying to modify and ran into issues. The modulizer didn't transform the hybrid polymer elements so the code would need to be updated to the class syntax for modulizer. However after conversion I had an issue importing the firebase code. It's using a global variable (firebase) which works fine for HTML imports but with modules that value wasn't being pulled in with imports. The firebase code isn't exporting anything for ES2015 modules to use. Without a build tool I wasn't sure how to proceed from there especially in regards to using only specific components. |
Although I would love to just use the modulizer. I have to review the whole code (and might do a re-write of some parts). Given that the modulizer is still in its alpha-stage, and have some problems... I don't have a better idea on what's the best alternative. I also want to think if it is possible to rewrite the behaviors to mixins and add a Firestore behavior for backwards compat. |
Any update on this folks? Not long until the end of Q1 (aka 3.0 launch). Does the current build work in a 3.0 project? |
Polymer 3.0 has officially launched now. Unfortunately, the modulizer still isn't "finished", but it's far enough along that they encourage people to try using it on their codebase. The expectation is that either
or in the worst case
Has anyone attempted the conversion since @Mash19 in November? It seems like a good time to give it another shot, and if it still doesn't work, report issues upstream. |
We should probably just make a PR. I made a WIP PR (#344) against firestore branch since it is the most important part for me. Can we split the work somehow? |
Modulizer won't do everything for us. It just requires some manual work to make it Polymer 3 - compatible. |
Hi I'm new to polymer, and planning to use in a new project and that will use firebase too, on reasearch I found this issue, any thing to worry? or its ok to use Firebase Javascript SDK until you got back polymerfire working? or for now better use version 2.0 then migrate to 3.0 when all things are solved for last version? |
@cwichoski If you start a new project with polymer 3, it's probably simpler to use the normale firebase SDK instead of polymerfire. Since the developer experience of Polymer 3 (with LitElement) and React are now practically identical, I would have a look at React + Firebase documentation. |
@Mash19 @merlinnot have you guys had any luck with this? |
That's the current status: @intcreator #353 |
Try https://github.com/iceflow19/polymerfire |
https://www.npmjs.com/package/polymerfire3 |
Hello,
Is there an estimated time when we could expect a new version of polymerfire which will be built according to the new Polymer 3.0 standard and stored in NPM?
The text was updated successfully, but these errors were encountered: