I need to catch that error so that i can render the app in simple HTML way for the environment having such error types. Is there a way, so that i can catch that error?
the issue is by default the application was being rendered on IE7 that is not on only IE IE11/EDGE that support the transpiled build. So I had to mention the meta information to let browser know that the intended browser is IE11/edge. Add this in the head section of your index.html:
Now may be you will get some error in console that reads:
SCRIPT5009: 'Set' is undefined
refer for the link for above error
Link: https://reactjs.org/docs/javascript-environment-requirements.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.