Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ch27.1.2 수정버튼클릭시 글쓰기 페이지로 이동 - 에디터에 제목, 태그가 나타나지 않습니다 #379

Open
dgnee opened this issue Apr 8, 2023 · 0 comments

Comments

@dgnee
Copy link

dgnee commented Apr 8, 2023

안녕하세요. velopert님. 리액트를 다루는 기술 개정판으로 공부를 하고 있는 학생입니다.
혼자 해 봤지만 에러를 잡지 못해서 질문 남기게 되었습니다. 답변 해주시면 감사하겠습니다!

포스트 수정 버튼을 눌렀을 때 에디터의 내용부분은 const mounted (...) 부분을 추가하여
나오게 하였는데, 제목과 태그들은 나오지 않습니다. Redux DevTools에서 확인한 결과
SET_ORIGINAL_POST 액션이 먼저 불려서 제목과 태그들이 수정하려는 포스트의 에디터에 표시되고,
INITIALIZE가 바로 뒤에 불려서 리셋이 되는 것 같습니다. 어떻게 수정하면 되는 걸까요?
미리 감사드립니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant