doc react code example
Example: react documentation
class Board extends React.Component {
renderSquare(i) {
return <Square value={i} />; }
}
class Board extends React.Component {
renderSquare(i) {
return <Square value={i} />; }
}