showing results for - "history of react js"
Jonathan
11 Apr 2018
1class ParentComponent extends React.Component {
2  state = { color: 'green' };
3  render() {
4    return (
5      <ChildComponent color={this.state.color} />
6    );
7  }
8}
9