question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Material-UI v4 display warnings when used with next-with-apollo

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
oliviertassinaricommented, Jun 6, 2019

@ivawzh I have experienced the opposite. It solves the warning in the reproduction provided on Material-UI side.

2reactions
nicovalenciacommented, Aug 22, 2019

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:

export default withApollo(createClient, { getDataFromTree: 'ssr' });
Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring Material UI with Next.js and react-apollo
I have an existing application in which I've encountered a problem. The root of the problem, as far as I know, lies in...
Read more >
Testing React components - Apollo GraphQL Docs
This article describes best practices for testing React components that use Apollo Client. The examples below use Jest and React Testing Library, ...
Read more >
GraphQL Apollo Client with Next.js and Material UI - YouTube
Tutorial on how to incorporate Apollo client in Next.js/React.js application. Next.js is a React.js full stack framework.
Read more >
Material UI Reusable Confirmation Dialog in React
Material UI Reusable Confirmation Dialog in React · 1. Install dependencies · 2. Create the component JSX · 3. Create the state store...
Read more >
Suspense for Data Fetching (Experimental) - React
React can then wait for it to be ready and update the UI. At Facebook, we use Relay and its new Suspense integration....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found