I am having alitle trouble with reactjs, and inheritance. This is my code setup:
Now the strange thing is, if i change it to this:
Uncaught TypeError: Super expression must either be null or a function, not undefined #787.
it works.
I have allready seen this post:reactjs giving error Uncaught TypeError: Super expression must either be null or a function, not undefined , but still no solution.
What i am trying to accomplish is having a base component which has some functionality, another component which is somewhat similar to the base but overrides some of the functions. And finally, a third component that builds upon the second component, but again overrides some of the functions in the first child.
For reference, i am using react: 15.4.1
Any suggestions?