-
Notifications
You must be signed in to change notification settings - Fork 79
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
Material-UI v4 display warnings when used with next-with-apollo #60
Comments
Issue is likely caused by bundling a polyfill which relies on the |
I believe we have identified the source of the problem: |
Also after I set |
@ivawzh I have experienced the opposite. It solves the warning in the reproduction provided on Material-UI side. |
Im experiencing the same as here, setting Update: @oliviertassinari solution did actually work for me in the end - which makes sense because the example wraps getDataFromTree in a SSR only test whereas this library defaults to client and server. @lfades would it make more sense to default getDataFromTree as SSR only? Since the client instance is reused - im not sure why its defaulted to always. |
Make sure you're getting what you're expecting from the re-render, but if you're looking for the happy path SSR hydration, this should work:
|
This can be closed |
now withApollo function have another interface, can you post please new example how to fix this? |
Related issue at MUI repository: #15798
After update to Material-UI v4.0, lots of warnings started to show at DevTools.
If I remove
next-with-apollo
and follow the example with-apollo-auth, everything works fine.The text was updated successfully, but these errors were encountered: