Closed dusunax closed 1 month ago
React version | Newest compatible React-PDF version |
---|---|
≥16.8 | latest |
≥16.3 | 5.x |
≥15.5 | 4.x |
If you use Next.js, you may need to add the following to your next.config.js:
module.exports = {
+ webpack: (config) => {
+ config.resolve.alias.canvas = false;
+ return config;
+ },
}
Todo
이미지 리사이징_240510
기존 PDFThumbnail 개선하기
기존 썸네일 컴포넌트 문제점
(퍼포먼스 악화) pdf파일 전체를 읽은 후 리스트 컴포넌트 로딩
numPages
를 출력하기 까지의 시간이 지연됩니다.작업
PDFThumbnail
컴포넌트 as isItem 만들기~
썸네일 구하기