Stuck at 3/5


Link to exercise:

Error message:
Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.proto = superClass; }

TypeError: Super expression must either be null or a function, not undefined

My Code:

import React from 'react';

class Child extends React.component {
	render() {

Not sure what I'm doing incorrectly. Any help would be greatly appreciated. :grinning:


Ok, it looks like I just needed to capitalize the word component on line 3.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.