-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#3] 도서 목록/검색 화면 개발 #4
Conversation
Quality Gate passedIssues Measures |
book: Book; | ||
} | ||
|
||
export default function BookCard({ book }: BookCardProps) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 컴포넌트는 pure 하기 때문에 과감하게 memo 한 결과를 export 해도 됨
} | ||
|
||
export default function BookSearch({ initialSearchTerm = '' }: BookSearchProps) { | ||
const [searchTerm, setSearchTerm] = useState(initialSearchTerm); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debounce 사용 가능성도 염두에 두면 좋을 것 같아요
const baseSearchParams = { | ||
MaxResults: '10', | ||
start: '1', | ||
SearchTarget: 'Book', | ||
Cover: 'Big', | ||
output: 'js', | ||
Version: '20131101', | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const baseSearchParams = { | |
MaxResults: '10', | |
start: '1', | |
SearchTarget: 'Book', | |
Cover: 'Big', | |
output: 'js', | |
Version: '20131101', | |
}; | |
const baseSearchParams = { | |
MaxResults: '10', | |
start: '1', | |
SearchTarget: 'Book', | |
Cover: 'Big', | |
output: 'js', | |
Version: '20131101', | |
} as const; |
작업사항
기타
ky
를 적용했습니다.화면 이미지
Desktop
Tablet
Mobile