Rendering(렌더링)작성한 코드를 화면에 출력하는 기능더보기interface IItem { name: string; isPacked: boolean }function Item({name, isPacked}: IItem) { //! if 조건문을 사용한 조건부 렌더링 // if(isPacked){ // return( // {name} 😊 // ) // } else{ // return( // {name} // ) // } //! 삼항 연산자를 사용한 조건부 렌더링 // : 조건 ? 참일 경우 : 거짓일 경우 // return( // // {/* HTML 내에서 JS문법 사용 시: {}내에 작성 */..