-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Write up suggestions on dealing with performance #269
Comments
Since it is the early days of the framework, it stands to reason that as the framework matures it will be met by explosive internet speeds in the not so distant future. Optimizing a little HTML/CSS/JS here and there will be extremely negligible compared to other resources that will be much more demanding of bandwidth by then. It is a common trend in the history of software that as hardware gets better, a sacrifice to computing speed is made in exchange for ease of development. It's why we use things like PHP/Symfony or Ruby on Rails instead of assembly. Things like Polymer will replace old ways as the practice of minimizing bits and bytes matter less. |
There is a natural tension between The current recommended approaches for defining custom elements are heavily skewed toward the At This way you get the best of both worlds, and as DavidPesta points out, as the current best practices evolve due to changing externalities, we don't have to change our developer experience, just the output of our production tooling (or we get to eliminate that last bit altogether).
Likely this is still a problem for tooling, although note that HTMLImports has a built-in de-duping feature. |
@sjmiles looks like the beginnings of a write up :) |
In the past month I've been exploring how tools like Yeoman, Grunt and Bower can be used with Polymer in order to solve some of the points you brought up (with and without Vulcanizer). As @DavidPesta mentioned, it's still early days for WCs and the best practices around production tooling still need to be figured out. I do hope to speak to Mozilla about how they're planning on addressing some of these challenges for Brick soon.. @sjmiles I'm unsure of whether it would be helpful, but I'd be happy to expose some of my tooling work around Polymer as part of an experimental repo in the Polymer org if that would give folks a central place to collaborate on solving more of these problems. |
This is a critical part of the project, under constant scrutiny and development. Reluctantly closing this issue for repo cleanliness, given its age. |
There are attempts to address performant architecture with projects like Yeoman & require.js but we as a community don't have definitive answers yet. The FAQ addresses some of these questions, though without a lot definitive answers.
Some concerns I have and other's have asked me:
Understandably these are early days but at some point it would be great to have an article addressing performance.
The text was updated successfully, but these errors were encountered: