Giter Club home page Giter Club logo

Comments (10)

BorntraegerMarc avatar BorntraegerMarc commented on September 27, 2024

You sure that you want to implement 4.0 support? I see this library more for Angular 2.X support...
Or is the goal to achieve Angular + Polymer 1.X support?

from angular-polymer.

platosha avatar platosha commented on September 27, 2024

Why not? This should be pretty straightforward to do. And yes, it would allow smoother Angular upgrades for those who use Polymer 1.x elements.

The essential goal is to support latest Angular and Polymer with smooth migration between major releases, when possible.

I am not completely sure if we want to support Polymer 2.x with the renderer though. Remains to be seen if we want to put more features/emphasis on the Renderer or not.

from angular-polymer.

BorntraegerMarc avatar BorntraegerMarc commented on September 27, 2024

With the firsr part I completely agree - but why do you want to build a library doing essentially the same as https://github.com/hotforfeature/origami?

from angular-polymer.

platosha avatar platosha commented on September 27, 2024

Good question. I don’t have much reasoning behind, except for serving the users who need this library to be maintained and upgraded.

At the same time, I was expecting that for Polymer 2 we can drop some glue code from angular-polymer, making maintenance easier. Not so sure anymore about it, though.

from angular-polymer.

BorntraegerMarc avatar BorntraegerMarc commented on September 27, 2024

@platosha as I see this library it would be more for angular 2+ and polymer 1.X support. Not really polymer 2+ as that part is already solved (quite nicely, actually). My suggestion would be to focus purely on polymer 1 support and get it to 100%...

I think there are still quite a few things missing like AoT support, etc.

But that is just my opinion...

from angular-polymer.

platosha avatar platosha commented on September 27, 2024

@BorntraegerMarc Agree. I do not say that we don’t have to fix missing things, like AoT support. I still consider these issues as first priority to solve.

from angular-polymer.

jay8t6 avatar jay8t6 commented on September 27, 2024

Are there any solutions out there that would let us use Polymer 1.x elements on a Angular 4 app?

from angular-polymer.

platosha avatar platosha commented on September 27, 2024

@jay8t6 I’m not aware of any. It’s probably best to use Polymer 2.

from angular-polymer.

jay8t6 avatar jay8t6 commented on September 27, 2024

@platosha thanks for the response. For now, I just want to render the polymer element in an angular 4 app, and set a couple properties, all of the logic is written within the polymer element. is that possible at least? we have too many 1.x elements to convert to 2.

from angular-polymer.

platosha avatar platosha commented on September 27, 2024

@jay8t6 on a very basic level, it will work without extra libraries/support. It is very limited though.

Basically, Polymer would not be able to track any children of Polymer elements defined in Angular templates. Polymer elements with zero children should work almost fine.

Same with data, for two-way bindings you’ll have to use Polymer’s change events, [(bananabox)] syntax won’t propagate changes from Polymer elements. And so on...

from angular-polymer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.