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

Consider adding component hot swapping. #150

Open
JSideris opened this issue Jul 11, 2023 · 0 comments
Open

Consider adding component hot swapping. #150

JSideris opened this issue Jul 11, 2023 · 0 comments

Comments

@JSideris
Copy link
Owner

This would be a nice feature that would make the development experience much better. However, there are several major challenges to it. This likely wouldn't work with webpack-dev-server, unless it can be extended. The goal of this ticket is to start thinking about this issue.

The requirements would be as follows:

  • Updating a javascript or typescript file containing a DOT component would hot-swap all instances of that component live while maintaining the state (props).
  • Updating javascript files that don't contain components should probably just refresh the entire webpage.

Some additional reading:

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

No branches or pull requests

1 participant