TypeError: ShallowWrapper::stöðu þarf að `ríkisins ekki að vera `núll " eða " óskilgreind`
class MyComponent extends React.Component {
constructor(props) {
super(props);
this.state = {/* initial state */}
}
}
TypeError: ShallowWrapper::stöðu þarf að `ríkisins ekki að vera `núll " eða " óskilgreind`
class MyComponent extends React.Component {
constructor(props) {
super(props);
this.state = {/* initial state */}
}
}