Files

33 lines
528 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Getting Started with React Redux
---
## Getting Started with React Redux
### Hint 1
Remember to pass parameter props to constructor
2018-10-12 15:37:13 -04:00
### Hint 2
Remember the super(props) in constructor
2018-10-12 15:37:13 -04:00
### Solution
<details>
<summary>Spoiler!</summary>
```jsx
class DisplayMessages extends React.Component {
// change code below this line
constructor(props){
super(props);
this.state={
input:'',
messages:[]
}
}
// change code above this line
render() {
return <div />
}
};
```
</details>