Make sure you import all the components you use inside your render() { ... } block render() { ... } .
This error can be selected if you are trying to display a component that has not been correctly imported or is returned undefined .
If so, you can also see the Uncaught TypeError: inst.render is not a function related error.
I am trying to determine which component is causing the problem:
- Replace jsx with a simple
<div>test</div> element by element - If I find the element / component that calls it, I make sure it is tagged, then dig deeper.
- Look at your diff and return the code / code-code
Good luck
source share