I'm having problem rendering a route in React. All I see is the page before React does any rendering to it, and the following error.
Mainly, I'm having trouble figuring out which component/line is causing the error, if anyone can provide some insight I'd appreciate that. Thanks.
Make sure you're importing all components your using inside your render() { ... }
block.
This error can be thrown if you're trying to render a component that hasn't been properly imported or is returning undefined
.
If this is a case you may also be seeing a related error Uncaught TypeError: inst.render is not a function
.
I try to identifying which component is causing the issue by:
<div>test</div>
element by elementBest of luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With