-
Notifications
You must be signed in to change notification settings - Fork 191
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
Loadable Components? #48
Comments
Loadable was never on my radar, but fast refresh works quite differently from RHL. Nonetheless, as Anton has stated in the linked issue, class-based components will lose state upon update (this is a known constraint for FR). I am leaning towards that it will work, but I currently don't have much time to test this out since I don't use loadable myself. |
I'm using both together and haven't had any issues so far. |
I have verified that it works with loadable, and will persist state given that it is wrapping a function component. |
Not sure if anyone would be interested, but I have an example with SSR and loadable-components/typescript/styled-components: https://github.com/adbutterfield/fast-refresh-express |
Has anybody tried this plugin with loadable-components?
I'm guessing that there will be a similar issue:
The text was updated successfully, but these errors were encountered: