Advanced-React
Starter Files and Solutions for Full Stack Advanced React and GraphQL
by wesbosJavaScript
Commit activity
Last 12 weeks · 0 commits
Community health
1 of 6 standards met
Recent PRs & issues
Recent fixes
I was getting infinite browser hang (chrome) due to an ssr issue with Next and Apollo useLazyQuery. This fixes it Hi! Thanks for the course :). I'm not sure why this didn't show up during the course (Possibly because I'm using newer versions of next and apollo-client). Anyway I think that the issue was that useLazyQuery was being server side rendered but can't be executed on the server since it is triggered after ssr is finished? The page would successfully build, but the browser would never display the app. Something or other wasn't resolving properly. I added the ssr: false flag to the useLazyQuery options and that fixes it. I'd love to hear your thoughts and hope that this is helpful. Have a good one from Australia. Tim
Repository: wesbos/Advanced-React. Description: Starter Files and Solutions for Full Stack Advanced React and GraphQL Stars: 3553, Forks: 2337. Primary language: JavaScript. Languages: JavaScript (63.8%), TypeScript (35.1%), CSS (1%), Shell (0.1%). Homepage: https://AdvancedReact.com Topics: fits, javascript, react, sick, wesbos. Open PRs: 47, open issues: 2. Last activity: 2y ago. Community health: 28%. Top contributors: wesbos, lfades, dependabot[bot], peggyrayzis, scrumptiousdev, schickling, jm35g, n-hare, gihrig, timleslie and others.