Skip to content

How to setup HMR for a React app #1826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
andreasasprou opened this issue Sep 11, 2019 · 4 comments
Closed
4 tasks done

How to setup HMR for a React app #1826

andreasasprou opened this issue Sep 11, 2019 · 4 comments

Comments

@andreasasprou
Copy link

Please make sure you have read the submission guidelines before posting an issue

Prerequisites

Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)

Expected Behavior

  • HMR for components in a React application or a library
  • HMR for redux reducers

Current Behavior

No HMR

@jaysoo
Copy link
Member

jaysoo commented Sep 11, 2019

@andreasasprou Thanks for the question. We currently don't support HMR, only livereload.

We'll look into adding it for the future so please stay tuned.

@jaysoo jaysoo closed this as completed Sep 11, 2019
@andreasasprou
Copy link
Author

Hey Jack,

Cheers for the rapid response! I’ve managed to locate where webpack dev server is created however my attempts to add HMR has been unfruitful.

Could you provide some brief guidance as how I could have a stab at adding support for HMR?

@nemonemi
Copy link

There's another issue with the same topic. Just wanted to link them for further reference #1881

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants