-
Notifications
You must be signed in to change notification settings - Fork 121
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
Web components as first class citizens in BioJS #144
Comments
My opinion on this after having some hands-on work with web-components/polymer for some time now
Combining different components is amazingly powerful (and easy) using polymer's (2-way) data-binding. It is true that this requires to have all the components driven by a parent web component, but this makes sense for me and leads to very powerful components. You can alternatively use object.observe or plain events anyway which is not different from what we currently have.
I would also mention "templates" as another benefit of web components. This allows the developer to write html where they need html and javascript where they need javascript (the same for css). I agree that web components are not mature enough for being adopted by biojs, but we should keep an eye on them and how they evolve in the near future. |
For WebComponents there is one big issue - Using Web Components as first class citizens is very good approach to keep consistent code across components but for now only apps based on Polymer should be recommended. Without Polymer iOS and FF users can wait for a long time for implementation that into their browsers. |
I am sorry, but I can't follow at all. Polymer also only uses a polyfill, so there's no reason why one needs to depend on Polymer. Moreover web components are a soon to be W3C standard and support for Edge and FF is under heavy development and will come soon. |
Update: All browser vendors reached consensus on many pressing matters about Custom Elements. https://groups.google.com/a/chromium.org/forum/m/#!topic/blink-dev/EDxhDZ-bPkQ |
Wow, I really needed that link :D Thanks for it. Now it is clear. I was based on caniuse.com updates which made me belive that polyfills for now will be the only solution. But as I see now the solution is round the corner. |
Started by @emepyc
This is an issue absolutely open for discussion :)
I will start this by stating my opinion:
The text was updated successfully, but these errors were encountered: