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

[FEATURE] Lets add native preact-hot-reload ? #2492

Closed
MaxmaxmaximusGitHub opened this issue Apr 21, 2020 · 2 comments
Closed

[FEATURE] Lets add native preact-hot-reload ? #2492

MaxmaxmaximusGitHub opened this issue Apr 21, 2020 · 2 comments

Comments

@MaxmaxmaximusGitHub
Copy link

MaxmaxmaximusGitHub commented Apr 21, 2020

[FEATURE] Lets add native preact-hot-reload ?

react-hot-reload This is a hack that does not always work correctly with react, but does not work with preact at all. so react started doing its native hot-reload. let's add the same api to preact? component reloading without state change and unmounting. and then write a plugin on webpack hot module replacement that will use this api. Of course, in the production version of preact, this api will not be =)

@moonmeister
Copy link

duplicate of #2184

@marvinhagemeister
Copy link
Member

Yup, @moonmeister is correct. We track support for hot reloading in #2184 👍

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

3 participants