-
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
Reevaluation of next-generation component rewrite #5231
Comments
For those of us who do not yet have intimate knowledge of every nit such as ^^ iron-ajax vs fetch API, the above discussion also lends itself to a tabular side by side comparison for the sum total of all such features, else we end up in an infinite loop of slack conversations about migrations from one to the other in piecemeal fashion. |
About alternatives, for iron-resizable-behavior I'd suggest playing with ResizeObserver (there are polyfills and ponyfills already available). This API is much more powerful than iron-resizable-behavior and will be much much more useful with web components. A demo I made is available here: https://codepen.io/Draccoz/pen/eVKooB/ |
I added an issue and then noticed this one... #5240 |
NB, fetch doesn't replace all aspects of iron-ajax/xhr - iinm, there's still no way to get progress using fetch, for example - yet: |
If you need more fine-grained control over the request/response, you can use XMLHttpRequest straight ;). This is way too easy to replace :P. |
State in my case:
My decision: Use iron-* as needed, in the 3.0 repos (which install fine btw) and replace anything paper. bundle sizes and interop thank me. A lit-element seems to have a very small base of polyfills etc so this is another decision: if possible use lit elements |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen! |
Hello,
I'm migrating my project to polymer 3.x and lit-html. While this went smoothly it quickly got apparent to me that providing next generation material design components is not the whole picture. Some things like
iron-ajax
can be painlessly replaced by fetch api and whatnot.However some very handy elements like
iron-form
,*ally*
,iron-resizable-behavior
,iron-collapse
,iron-list
and many others are still very handy in application development.@sorvell, @graynorton, @notwaldorf are there any chances we see some of those reworked to not depend on polymer base class? Or maybe we can have a discussion about what alternatives we have for
iron-*
element catalog (Community alternatives? Do we have solutions that work well with web components?). While I love the speed and ability to use expressions, the size advantage oflit-element
is quickly mitigated by importing any of old elements and it gets hard to avoid using any of those at all right now.The text was updated successfully, but these errors were encountered: