PatrickJS / angular-hmr

:fire: Angular Hot Module Replacement for Hot Module Reloading
https://patrickjs.com
Apache License 2.0
506 stars 45 forks source link

Why do I need this as developer? This question and the terminology - 'hot module replacement' should be explained better. #45

Open devin6391 opened 7 years ago

devin6391 commented 7 years ago

New developers and developers who might not need this feature in present, maybe due to less compilation time required in their normal development procedure, might not understand the idea of hot module replacement. Please explain this idea first and then tell us how to do it.

klaaz0r commented 7 years ago

The main advantage is in development time, Instead of having to reload the page it will automatically appear. Now this is not the most amazing thing. Keeping state is what really speeds up your development process. In a simple app this might seems like overhead, but if you are working on a multipage application and you are working on something 5 components deep it can be a pain to code -> safe -> recreate all the steps -> repeat

I hope this answers your question

simeyla commented 7 years ago

Please add something like this to the main page!

You will get a lot more people using your project if you explain it better. Also it would be very important to list the advantages and disadvantages. Keeping state sounds great but I think it is a very complicated thing and it would be good to know what does work or doesn't before I start.

manikantag commented 7 years ago

Angular's ng serve does the same, right? Is there any difference?