Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Counter doesn't work in IE11 react-redux example #854

Closed
jckh1234 opened this issue Apr 10, 2017 · 2 comments
Closed

Counter doesn't work in IE11 react-redux example #854

jckh1234 opened this issue Apr 10, 2017 · 2 comments

Comments

@jckh1234
Copy link

jckh1234 commented Apr 10, 2017

I just installed this generator and created a project using React-Redux config

and then dotnet run

In IE 11, click on the Increment button on Counter does nothing.
No error show in console.

It works on Chrome.

@jckh1234 jckh1234 changed the title Counter doesn't work in IE11 Counter doesn't work in IE11 react-redux example Apr 10, 2017
@SteveSandersonMS
Copy link
Member

SteveSandersonMS commented Apr 11, 2017

IE requires some extra polyfills. If you need to support it, run:

npm install --save core-js

... and then at the top of your boot-client.tsx file, add this:

import 'core-js/shim';

We haven't included those polyfills by default because not a lot of people need them, and they make the compiled application bigger. However we might review this if we get more reports along these lines. Hope that's OK!

@SteveSandersonMS
Copy link
Member

No error show in console.

BTW there are errors in the console if you don't have the polyfills. Note that IE doesn't show console entries that were posted before you opened the console window, so you might need to be in the habit of reloading the page while the console is opened if you need to see errors :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants