Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
React Error by onSetChildren
Warning: Exception thrown by hook while handling onSetChildren: Invariant Violation: Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (4 has parents 3 and 2).
Invariant Violation: Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (4 has parents 3 and 2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment