JSX ???
HTML을 품은 JS === JSX !!!
일단 리액트 가장 시작 단계
이부분은 많이써서 외워두는게 좋을거같다
import React from 'react'
import logo from './logo.svg';
import './App.css';
import Start from './Start'
class App extends React.Component{
constructor(props){
super(props)
this.state = {
name : '르탄이1'
}
}
render (){
return (
<div className="App">
<Start name = {this.state.name}/>
</div>
);
}
}
export default App;