Skip to content

Instantly share code, notes, and snippets.

@LeilaniL
Last active May 6, 2020 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeilaniL/6cef20a735a1f2767d5421c62f775cd5 to your computer and use it in GitHub Desktop.
Save LeilaniL/6cef20a735a1f2767d5421c62f775cd5 to your computer and use it in GitHub Desktop.
Helping troubleshoot a Redux Firestore project
index.js:1406 Warning: Cannot update a component (`QuizControl`) while rendering a different component (`MyQuizList`). To locate the bad setState() call inside `MyQuizList`, follow the stack trace as described in https://fb.me/setstate-in-render
in MyQuizList (created by Context.Consumer)
in withFirestore(MyQuizList) (at CreateQuizControl.js:39)
in CreateQuizControl (at QuizControl.js:29)
in Route (at QuizControl.js:45)
in Switch (at QuizControl.js:38)
in QuizControl (at App.js:12)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:10)
in App (at src/index.js:31)
in StrictMode (at src/index.js:30)
in ReduxFirestoreProvider (created by ReactReduxFirebaseProvider)
in ReactReduxFirebaseProvider (at src/index.js:29)
in Provider (at src/index.js:28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment