Skip to content
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

Hot Reload: Explore Experimental React Refresh Feature #600

Closed
ryanelian opened this issue Dec 24, 2019 · 0 comments
Closed

Hot Reload: Explore Experimental React Refresh Feature #600

ryanelian opened this issue Dec 24, 2019 · 0 comments

Comments

@ryanelian
Copy link
Owner

ryanelian commented Dec 24, 2019

react-hot-loader is deprecated soon, to be replaced with react-refresh. instapack should be ready to implement react-refresh when it's stable.

https://github.com/pmmmwh/react-refresh-webpack-plugin

It'll be actually cool if instapack can do Fast Refresh React projects out of the box.


Should probably detect if React is installed in project package.json. If exists and Hot Reload server is on, then attach the webpack plugin and another JS/TSX loader specially for Babel early in the rule chain (executed last).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant