-
Notifications
You must be signed in to change notification settings - Fork 23
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 functional (stateless) components #18
Comments
Is Babel plugin already supporting functional components? |
Not sure whether it supports them completely, but |
No, react-transform-hmr is completely unaware of them. The issue is with Babel plugin which currently doesn't see them. |
I see. Actually, just tried the example, and it works well, only after an error occur in the functional component, it will not be able to hot reload anymore and will fail with |
Doesn't catch errors for React stateless components.
An example to reproduce.
The text was updated successfully, but these errors were encountered: