question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am not sure if this is the right project asking for it but is something like react’s hot reloading possible with Angular 2 + Webpack? I don’t think is possible by Angular`s design?

Edit: the mentioned project is replaced by babel-plugin-react-transform. More Information here

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
filipesilvacommented, Mar 14, 2016

Hot module replacement as provided by webpack allows an app to reload a module/file on the fly. That bit is definitely a configuration feature.

However, the way by which the application responds to having modules being reloaded is an app/framework issue.

In the case of react, the hot reload behaviour seems to have been achieved via heavy instrumentation of components. This makes sense, because their state needs to somehow be persisted and re-introduced on the newly reloaded components.

I am not aware of such an angular feature, but there might be something to it if you ask on the angular repo. The CLI could perhaps have webpack’s hot reload, but it wouldn’t do much on it’s own.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between Hot Reloading and Live ...
Hot reload just displays the code changes according to new code changes without restarting the app from the start and its effects only...
Read more >
Introducing Hot Reloading - React Native
The idea behind hot reloading is to keep the app running and to inject new versions of the files that you edited at...
Read more >
Hot reload - Flutter documentation
Flutter's hot reload feature helps you quickly and easily experiment, build UIs, add features, and fix bugs. Hot reload works by injecting updated...
Read more >
What is hot-reloading exactly, is it just another fancy term for ...
When you develop an Application where you build your Js using Modules then the Hot Part of reloading can replace your module on-the-fly...
Read more >
What is hot reloading and why is it a big deal? | One Dev Minute
Maddy Leger, @maddyleger1 is back to talk about Hot reloading, a great way to see changes in real time without losing any of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found