class HelloMessage extends React.Component {
handlePress = () => {
alert('Hello')
}
render() {
return (
<div>
<p>Hello, my name is {this.props.name}</p>
<button onClick={this.handlePress}>Say Hello</button>
</div>
);
}
}
ReactDOM.render(
<HelloMessage name="Adam Cameron" />,
mountNode
);
Aug, 2021
Saying hello! 👋
I strongly believe software development is more about communication and guidance than lines of code and my goal is to ensure my team and I are set up for success within wider organisation goals.
class HelloMessage extends React.Component {
handlePress = () => {
alert('Hello')
}
render() {
return (
<div>
<p>Hello, my name is {this.props.name}</p>
<button onClick={this.handlePress}>Say Hello</button>
</div>
);
}
}
ReactDOM.render(
<HelloMessage name="Adam Cameron" />,
mountNode
);
Aug, 2021
Saying hello! 👋
I strongly believe software development is more about communication and guidance than lines of code and my goal is to ensure my team and I are set up for success within wider organisation goals.