Giter Site home page Giter Site logo

Comments (7)

coryhouse avatar coryhouse commented on May 6, 2024

Great catch. Reproduced. I'm investigating now.

from react-slingshot.

coryhouse avatar coryhouse commented on May 6, 2024

Per the console message in IE: webpack-hot-middleware's client requires EventSource to work. You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools

I'm debating whether I want to add the polyfill to the starter kit. In the meantime, adding it on your end will get you rolling.

from react-slingshot.

coryhouse avatar coryhouse commented on May 6, 2024

After further testing, the example app was also not running in IE when built because of a separate issue - I was using Object.assign in the example app. I've just committed a fix for that. So this means IE will now work fine in production mode (when you run this):
npm run build

If you want to do dev in IE, read my previous comment. (Again, still considering what commit I want to make to support doing dev in IE)

from react-slingshot.

stuartdga avatar stuartdga commented on May 6, 2024

Thanks, I can try that.  The bigger issue for me was that browser-sync ignored my browser option in the client config.  I'll research a little more this evening.

from react-slingshot.

coryhouse avatar coryhouse commented on May 6, 2024

@stuartdga Did you have any luck getting HMR to work in IE? I've tried adding in the suggested polyfill and hot module reloading still doesn't work in IE. It initially connects, but throws an error on save.

from react-slingshot.

stuartdga avatar stuartdga commented on May 6, 2024

No, I changed my default browser to Chrome and changed it back after i completed the course.

from react-slingshot.

coryhouse avatar coryhouse commented on May 6, 2024

Gothca. Alright, I'm going to close this as "Won't fix" since polyfills are available for the few who want hot reloading in IE.

from react-slingshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.