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

Support HMR #68

Closed
tbranyen opened this issue May 24, 2016 · 2 comments
Closed

Support HMR #68

tbranyen opened this issue May 24, 2016 · 2 comments

Comments

@tbranyen
Copy link
Owner

It should be possible to make the components HMR compatible. I'd image this would be a separate module that could be mixed into any valid ES6 class.

@tbranyen tbranyen added this to the Version 2.0 milestone Jun 27, 2016
@tbranyen
Copy link
Owner Author

So far my thinking is that the middleware will track the DOM Node and a hook to trigger re-rendering. The requirement would be that your hot-module-replacement-enabled modules would require diffhtml.

@tbranyen
Copy link
Owner Author

Not going to worry about this for the initial release. The diffhtml-static-sync module does some simple HMR which is good enough for most static cases.

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