Giter Site home page Giter Site logo

no HMR about prism HOT 6 CLOSED

jmarceli avatar jmarceli commented on May 23, 2024
no HMR

from prism.

Comments (6)

tomkis avatar tomkis commented on May 23, 2024

Are you using redux-elm-skeleton ? I am considering open-sourcing some redux-elm-boilerplate since people tend to have problems with stuff like that and I frankly have to admit that it's not easy to tackle.

Anyway, it does work for me in my project.

from prism.

jmarceli avatar jmarceli commented on May 23, 2024

I've just cloned the redux-elm-skeleton and run: npm i followed by npm start. Then I made a small modification to hello-world view. This results in:

[HMR] The following modules couldn't be hot updated: (They would need a full reload!)
log-apply-result.js:13 [HMR]  - 684

from prism.

tomkis avatar tomkis commented on May 23, 2024

@jmarceli I've just pushed hmr branch to redux-elm-skeleton where you can see how HMR could be set up, look at this commit

from prism.

jmarceli avatar jmarceli commented on May 23, 2024

Fixed. Thanks.

from prism.

krzysztofpniak avatar krzysztofpniak commented on May 23, 2024

@tomkis1 why the commit you mentioned is not merged to master branch?

from prism.

faceyspacey avatar faceyspacey commented on May 23, 2024

webpack devserver is problematic. we should use webpack-hot-middleware and the latest version of react-hot-loader. It supports stateless functions.

from prism.

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.