Giter Site home page Giter Site logo

Comments (5)

yargalot avatar yargalot commented on June 16, 2024

just as a note, been trying to follow the other repo, keeps coming up with

[HMR] Cannot apply update. Need to do a full reload!
dev-server.js:15 [HMR] Error: Aborted because 43 is not accepted

from angular-hmr-loader.

jeroenverfallie avatar jeroenverfallie commented on June 16, 2024

Hey, sorry, I didn't get a notification of your issue, I'll add a readme tonight on how to use it.
Hopefully that helps.

Sorry for the wait!

from angular-hmr-loader.

yargalot avatar yargalot commented on June 16, 2024

All good man! I actually reversed engineered some stuff on it and got it working over at https://github.com/yargalot/Angular-HMR. Got chaining working and some other stuff just to screw around with it and build off what you had. Really cool concept!

That being said , Im failboating on singletons like factories and services though, tried multiple things and havnt been able to get them to update in app.

Anyway, happy to make a pull request and put the changes in this repo if you want.

from angular-hmr-loader.

jeroenverfallie avatar jeroenverfallie commented on June 16, 2024

Very nice to see someone picked up!

You put a lot of work into what was just a PoC, so I'm happy to make yours the main repo, and I'll happily contribute there. (in fact, i'll try replacing my version with yours in a running project here right now)

I'll check your repo more in detail tonight, but I fear for singletons, and scope bindings for example, because they get transformed, and stored in deep private variables in the angular core.

Cool stuff!

from angular-hmr-loader.

yargalot avatar yargalot commented on June 16, 2024

Hah thanks!

The providerCache is a pain yeh, cant figure out a way to get to it. I did have some thoughts about running an updater in an angular.run module and listening to events to the hotmodule thing spits out but yeh, need to have a fiddle! Will be great to see what you think anyway!

from angular-hmr-loader.

Related Issues (1)

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.