question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
SkaterDadcommented, Dec 16, 2017

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.

2reactions
whaaaleycommented, Dec 16, 2017

Personally, I’d like to keep IE11 for now. I don’t care about IE10.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found