-
Notifications
You must be signed in to change notification settings - Fork 801
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
[Question] Is there a similar way to use v4 like v3? #953
Comments
If you were able to handle your project with v3 - you should be able to do it with v4. Just beware - |
Our Use I'm not sure it's the right way, but it works. Thank you. |
There is super simple RHL-frindly solution in loadable-components - it just always load a new component. |
does this work with https://github.com/jamiebuilds/react-loadable? |
Unfortunately no. Everyone has to pick it's own way to detect HRM and the way to reload stuff then. React-loadable still could not choose, but we have ideas how to enable every loader to work. |
The
hot
helper provided by v4 is great. But our application have over 50 pages, each page is loaded on demand. So if I usehot
helper, I have to rewrite every page's export. And if the page need connect to redux, the export will be like this:It's maybe too long and complicated.
So, is there a similar way to use v4 like v3?
The text was updated successfully, but these errors were encountered: