silverwolf-x's picture
download
raw
310 Bytes
import React from 'react'
export default class Welcome extends React.Component {
state = { name: null }
componentDidMount() {
const { name } = this.props
this.setState({ name })
}
render() {
const { name } = this.state
if (!name) return null
return <p>Welcome, {name}</p>
}
}

Xet Storage Details

Size:
310 Bytes
·
Xet hash:
8baa436c1659d23dd3d833495992a4e375795534f82af99566336adf26ea5cad

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.