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.

Mobx 4.9.1 breaks IE11 compatibility

See original GitHub issue

Code in question:

    ObservableSet$$1.prototype[Symbol.iterator] = function () {
        return this.values();
    };

Error: Symbol’ is undefined

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
davojancommented, Feb 5, 2019

Updating to 4.9.2 has broken my webpack build with typescript error:

ERROR in node_modules/mobx/lib/types/observablemap.d.ts(42,5):
TS2416: Property '[Symbol.toStringTag]' in type 'ObservableMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'.
  Type 'string' is not assignable to type '"Map"'.

Reverting to 4.9.1 fixes this.

0reactions
lock[bot]commented, Jul 21, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

README · MobX
MobX is made possible by the generosity of the sponsors below, and many other individual backers. Sponsoring directly impacts the longevity of this...
Read more >
Package Diff: mobx @ 5.9.0 .. 5.9.4
+* Fixed `observable.set` compatibility with IE 11, ... accidental use of `Symbol` breaking Internet Explorer / React Native compatibility. +. +# 4.9.1.
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