function a (props)
{
return <h1>hello world{this.props.asd}</h1>
}
class a extends React.Component{
constructor(){
super()
this.state = {
xxx:yyy
}
}
render(){
return (
<div>Hello</div>
)
}
}
function a (props)
{
return <h1>hello world{this.props.asd}</h1>
}
class a extends React.Component{
constructor(){
super()
this.state = {
xxx:yyy
}
}
render(){
return (
<div>Hello</div>
)
}
}