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