Giter Site home page Giter Site logo

add HMR support about universal HOT 9 CLOSED

fulls1z3 avatar fulls1z3 commented on May 4, 2024
add HMR support

from universal.

Comments (9)

fulls1z3 avatar fulls1z3 commented on May 4, 2024 1

hi @IPRIT @MuhammadShaban @wozniakm, just pushed the latest changes including HMR support. Refer the instructions at the README and give it a try when u've got available time. Awaiting feedbacks 👍

from universal.

fulls1z3 avatar fulls1z3 commented on May 4, 2024

Hi @IPRIT, thanks for pointing out this topic.

Actually I was thinking about the same thing on the way home from gym - so, great minds think alike ;)

Although it's less than just a couple of hours of work, this week I won't be able to provide that. But within a week or two, for sure I'll publish an update containing the HMR functionality.

from universal.

wozniakm avatar wozniakm commented on May 4, 2024

Hi! Anything new on this request?

Great work, man 👍

from universal.

fulls1z3 avatar fulls1z3 commented on May 4, 2024

Hi @wozniakm, thanks for your appreciation 👍

Just updated the repo with some utils from @nglibs and their loaders at the server-side, and currently working on caching the XHR/fs requests.

I think after this, HMR has the first priority - so we're not far from there. And then I hope I'll make several contributions to @angular/universal with these lessons learned.

from universal.

wozniakm avatar wozniakm commented on May 4, 2024

Sounds great. If you can prepare some roadmap I would love to help you with developing that "starter" pack.

from universal.

fulls1z3 avatar fulls1z3 commented on May 4, 2024

Thanks @wozniakm, I and all people benefiting from this repo would really appreciate that.

Currently we've got more or less no roadmap, except the items on the issue list. Feel free to add new items with enhancement tag/label, so I will do that and let's progress with them.

Actually, just after the cache implementation new items will occur.

from universal.

mshaaban-tech avatar mshaaban-tech commented on May 4, 2024

Hi @fulls1z3, is there any new news?

from universal.

fulls1z3 avatar fulls1z3 commented on May 4, 2024

Hi @MuhammadShaban, I made a few tries on it.

First tried the HMR from @AngularClass, but it simply didn't work. Then made another try using webpack-hot-middleware. Seemed like it was working, but it simply re-triggers the webpack process from all over.

I've read the issues about webpack-hot-middleware and they say it could happen because we use nodemon. So basically it would take a few more time until we got it running.

Meanwhile, I didn't commit that code because it would create a huge mess for the people who are already benefiting from this repo. If you're interested I can hereby share a zipped version of this repo and you can create a PR if you have the opportunity.

from universal.

mshaaban-tech avatar mshaaban-tech commented on May 4, 2024

thanks @IPRIT, i will try it as soon as possible.

from universal.

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.