Why IE 11 display blank page rendering react app

后端 未结 8 1864
借酒劲吻你
借酒劲吻你 2020-11-30 07:04

I have an issue with IE 11 and my react app. I use Webpack, babel and polyfill.io cdn and all is nice until rendering bundeled file, then it stops doing anything. Do you hav

相关标签:
8条回答
  • 2020-11-30 07:57

    I tried the solutions offered above but still couldn't get the page to work on IE11 nor in my old iOS 9.3.2...

    I did exactly as suggested by @Treycos and @Kurisubo but no resolution; to resolve, had to replace es6 arrow function from my functional component into old school declarative style and the page loaded on IE 11 and iOS 9.3.2

    NOTE: this functional component was the first component which was rendered on the page

    Adding this here so that someone can benefit in the future.

    0 讨论(0)
  • 2020-11-30 08:00

    If you are using Object.assign() in your reducer (for example) or some other functions that IE11 doesn't support without polyfilling you would have this problem.

    0 讨论(0)
提交回复
热议问题