Giter Site home page Giter Site logo

Hot Reload not working? about razzle HOT 3 CLOSED

jaredpalmer avatar jaredpalmer commented on May 2, 2024
Hot Reload not working?

from razzle.

Comments (3)

jaredpalmer avatar jaredpalmer commented on May 2, 2024

Will look into this in more detail later tonight. For now, just write the components you want to have HMR as classes instead of stateless components.

class Blah extends React.Component {...}

from razzle.

jaredpalmer avatar jaredpalmer commented on May 2, 2024

So i have explored this since Dan Abramov recently announced the sunsetting of react-transform and suggested its removal from some of the redux examples. On a local branch, I implement vanilla HMR with webpack using the suggested technique. I can submit a PR.

from razzle.

nesbtesh avatar nesbtesh commented on May 2, 2024

So hot reloading doesnt work for extended templates? For example this works in create react app but doesnt work in razzle:

export default class Collection extends MainTemplate {

from razzle.

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.