자동저장 편집기는 별도의 저장 버튼없이 서버와 자동으로 싱크되는 편집기 이다. url에 따른 라우팅 처리 필요
<App>
posts : []<PostPage>
기본 경로로 들어왔을 때의 컴포넌트
PostList)onPostClick(id))addNewPost)<PostList onPostClick={} ><button onclick = { addNewPost } /><PostEditPage>
post를 생성하고, 수정할 수 있는 페이지
history.replaceState이용){ postId: ‘new’, post: { title, content }}