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 reasonrenderElementassumes that if the props arenullthen it is because there is norendermethod orcomponent.For example:

The error "Cannot use GraphQLSchema..." gets hidden by "Route with query ... has no render method or component."