[Feat] 북스냅 책 검색 및 사소한 오류들 해결 #70
Merged
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.
🔥 Issues
#32
✅ What to do
📄 Description
🤔 Considerations
🔍 스크롤 문제
useContext를 사용하여, Layout에서mainRef를 전달하고 BookSnap에서 이를 받아 스크롤 이벤트를 감지하도록 수정함🔎 책 리뷰 검색 전달 구조
(?query=...)로 전달하기로 결정함useSearchParams를 통해 query 값을 받아 처리하고, query가 존재하면 기존 전체 리뷰 로딩을 skip하도록 조건 분기하여 검색 결과만 표시되도록 함.🛠️ Improvements to Make
👀 References
스크린샷 또는 참고사항
