-
Notifications
You must be signed in to change notification settings - Fork 799
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
Component not accepted by Hot Loader if using react-refetch #666
Comments
I have noticed the same behavior today. For instance, I have 6 components raising this warning. Some of those components are userland, some are coming from redux-form, react-redux, Material-UI. |
I confirm, @loris see if |
It is new in v3, it gives you warning about component not accepted by React Hot Loader. The behaviour is the same as v3.0.0-beta.7 except you don't get any warning about not accepted components. |
@neoziro, is there an option to disable this warning? ;) |
Not yet |
Feel free to contribute #667 |
Not sure why the issue has been closed. Warnings are not the problem, the fact that reloading is not happening is. Using react-refetch in a component will make any children unreloadable. |
I have the same issue with |
I am having the same issue with connect. The warnings reaches to the number of 8000. |
Issue #666 ... coincidence? Because this one is certainly a beast!! |
Encountered the same. reverting to |
Exactly the same here. I also went back to beta 7. |
You can disable warnings https://github.com/gaearon/react-hot-loader#disable-warnings |
Any updates on this one @neoziro? Using React with HoC like redux seems like a very common setup, so currently RHL is broken for most people |
@loris in fact the implementation is the same as in beta. We added warnings by default and you can disable them. Concerning support of HOC we do not have any solution yet except exporting them at top level. |
What about "that babel plugin"? @loris - check this out - #650 (comment) |
Yeah same here guys. HOCs are breaking my setup at the moment. |
|
reverting back to beta7 indeed solves the warning issues. But, Is there anyone else having issues with HMR a redux store. I keep getting the Provider does not support changing |
react-refetch issue is fixed in next. Also added an example using react-refetch. |
@neoziro thanks! I just tried
|
Ping @theKashey |
@Stanko - we will remove this warning asap. This is just a warning. Everything is ok in real. |
@neoziro Thanks! Just installed |
* Switched to redux-saga. * Switched to postcss. * Async server data. * Removed unused files. * Refactoring. * Updated dependencies. * Updated documentation. * Added react-hot-loader 4 beta cause of this issue gaearon/react-hot-loader#666
Hi! congrats on v3!
I have been trying to switch from
react-transform-hmr
toreact-hot-loader@3
and facing some issues. It looks like I can't get Hot Loader to properly works with components wrapped with https://github.com/heroku/react-refetch HOC (and since my parent App component is also wrapped, none on the children components are accepted)It looks really related to react-refetch (my App component is wrapped with multiple HOCs using
compose
fromrecompose
and hot reload properly works as soon as I remove thereact-refetch
HOC). Any idea?The text was updated successfully, but these errors were encountered: