Certain errors will cause the props to be null. For some reason renderElement assumes that if the props are null then it is because there is no render method or component.
For example:
The error "Cannot use GraphQLSchema..." gets hidden by "Route with query ... has no render method or component."
Certain errors will cause the props to be
null
. For some reasonrenderElement
assumes that if the props arenull
then it is because there is norender
method orcomponent
.For example:
The error "Cannot use GraphQLSchema..." gets hidden by "Route with query ... has no render method or component."