How to solve “Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: someValue”?
The error message “Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: someValue” usually...