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.

IE11 throwing error due to dequal

See original GitHub issue
  • use-deep-compare-effect version: 1.6.1
  • node version: 12.x
  • npm version: 6.x

Relevant code or config

useDeepCompareEffect(() => {
   // impression tracking
}, [])

What you did: Tested in IE11

What happened: Throwing error unexpected ;

Reproduction repository:

Problem description: Unable to deep compare in IE11 Browser and its throwing uncaught exception.

Suggested solution: This happens mainly due to dequal library (deepEqual method) which is using for...of which is not polyfill-ed. https://github.com/kentcdodds/use-deep-compare-effect/blob/main/src/index.ts#L32-L35

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kentcdoddscommented, Aug 30, 2021

Hi @ramsunvtech,

Sorry, this library doesn’t support IE11. Feel free to fork. It’s a pretty simple library.

0reactions
kentcdoddscommented, Aug 30, 2021

Yeah, it could be used for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IE11 - Using Google Charts in Angular 7 gives syntax error
I am using Google Charts library in Angular 7. It works well in FF, Safari and Chrome. However, when I try to see...
Read more >
ReactDOM - Internet Explorer - ie11 exception thrown and not ...
For some reason just IE 11 is raising an exception and pointing to this: ReactBatch.prototype._onComplete = function() { if (this.
Read more >
HTTPS security is compromised by (null)" error in IE11
I recently encountered an issue that a webpage does not function in IE11 with exception SEC7111: HTTPS security is compromised by (null).
Read more >
Microsoft Internet Explorer 11 - Use-After-Free - Exploit-DB
Exploit Title: Microsoft Internet Explorer 11 - Use-After-Free # Date: ... Type 0x80 being used directly won't work. throw Error("Couldn't ...
Read more >
IE11 | SEC7111: HTTPS security is compromised by (null)
I recently encountered an issue that a web page does not work in IE11 and throws exception “SEC7111: HTTPS security is compromised by ......
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