Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
json-server을 이용하여 GET으로 데이터를 읽어온 후 이벤트 리스너를 이용하여 스크롤 동작이 있는 경우 PATCH 요청을 보내 모든 글의 문구를 바꿉니다!
배운 거 다 때려넣어보자는 마음으로 프로미스와 setTimeout도 이용해봤습니다.
다만 아쉬운 점이 있다면 수정된 후 원래 문구로 돌아가지 않는다는 것...
스크롤 위아래 움직임에 따라서 변화하는 문구를 구분 지어 원상태로 복귀가 되도록 만들었으면 더 재밌을 수도 있었겠네요