Object.assign and browser support: IE11 y/n?
See original GitHub issue@Alber70g claimed to have used Hyperapp with IE9 without no changes, but I presume he was just lucky. 😄🎉
I am using it with IE11 in production, which is closer to what we really support, although we claim IE10. See also: https://github.com/hyperapp/hyperapp/issues/466
If we drop IE11, we could get rid of the stand-in merge/assign function as well as (potentially) introduce some ES6isms.
function assign(target, source) {
var result = {}
for (var i in target) result[i] = target[i]
for (var i in source) result[i] = source[i]
return result
}
What do you think?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
"object.assign" | Can I use... Support tables for HTML5, CSS3 ...
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >Object doesn't support property or method 'assign' - ie11 while ...
Great answer, for anyone who is still struggling after uncommenting this, is probably because you need to add import './polyfills.ts'; in boot.
Read more >Internet Explorer 11 desktop app retirement FAQ
Update: The retired, out-of-support Internet Explorer 11 desktop application is scheduled to be permanently disabled through a Microsoft ...
Read more >Spread syntax (...) - JavaScript - MDN Web Docs - Mozilla
Spread in object literals. Shallow-cloning (excluding prototype) or merging of objects is possible using a shorter syntax than Object.assign() .
Read more >Third Party Licenses - Synapse Wireless
... @assemblyscript/loader; @aws-crypto/ie11-detection; @aws-crypto/sha256-browser; @aws-crypto/sha256-js; @aws-crypto/supports-web-crypto; @aws-crypto/util ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
IE11 is my only supported browser at work for internal apps, so I’d prefer to keep it also. I’m sure I’m not alone.
The fact that I can just drop hyperapp in a script tag and get right to work without polyfills is great.
Edit: I could probably live with needing an Object.assign polyfill, but it will present a potential stumbling block for new folks. Maybe keep the IE11 compatibility for V1 and drop it in v2? Vue is planning on doing something similar for v3, I believe.
Personally, I’d like to keep IE11 for now. I don’t care about IE10.