생활코딩 (1) Today I am Update, Delete 기능 구현 CRUD = Create Read Update Delete update는 read기능과 create기능이 결합되어있다고 볼 수 있다. - 기존 컨텐츠를 불러와서 form에 추가작업 할 것 - form기능이 이미 구현되어있는 컨텐츠에서 실행할 것 Update state값을 form과 동기화시켜서 state값을 계속 변화시키기 //Components/UpdateContent.js import React, { Component } from 'react'; class UpdateContent extends Component{ constructor(props){ //가변적 데이터로 동작할 수 있게 -> state화 시켜주기 super(props); this.state = { title:this.props.data.. 이전 1 다음