3 ms·
Pros: Because Polyfill is who web should be built. It's the best way to develop a web applications. It's future friendly. It's better to have one file for a co
by dilipray 12y ago
Pros:
Because Polyfill is who web should be built. It's the best way to develop a web applications. It's future friendly.
It's better to have one file for a component. Example: https://github.com/PolymerLabs/google-map https://github.com/PolymerLabs/google-map
Where they have everything. CSS, JS and Template in one page.
Cons:
You shouldn't be using it for everything and of course not for the next project.
Google doesn't use it for production.
It makes tons of requests.
Comments:
Try to use it for few demo projects test the performance and take a decision. If you want to use it. It works best with require.js and you can't just dive into it Polymer(Deep Sea) without having experience(Wearing a oxygen cylinder).
https://gist.github.com/tantaman/7222599 https://gist.github.com/tantaman/7222599