Ie10 cannot identify the setprototypeof attribute

Source: Internet
Author: User
The project encounters a requirement that react16.6.0 is compatible with the IE 10 Browser
  • Open it in IE browser. ie11 is supported. Open the console and switch to ie10. The page is displayed in white. An error is reported in the console.
  • Console Error
Map set undefined

If this parameter is not defined, ie10 does not support the latest es6 syntax. Google has many solutions. The only useful thing is to go to the Babel official website. For more information, see @ Babel/polyfill. What does it mean?

Previously, Babel-polyfill was used and found to be the answer in 2017. Now the library has been updated for a long time. For those who heard the library for the first time, it is almost unknown.

Then, according to Babel/polyfill's official website, I went to webpack. Cong. Dev. js's entry to configure

Entry: ["@ Babel/polyfill"]

Other errors are returned, which are caused by reference to third-party libraries of others.

[Purchameng] (valid defined) This command is not supported

I went to Google again, so someone asked me on GitHub, saying that the quill plug-in used does not support ie10 and I have to change the plug-in. Well, I commented out the quill reference used by the project.

Ie10 can display the page. This involved a lot of process and psychological activities to solve the problem. You need to sort it out.

Original article address: 1190000016793978

Ie10 cannot identify the setprototypeof attribute

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.