[intersection-observer] deprecated된 intersection-observer 패키지를 제거합니다. #3782
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.
PR 설명
기존에 사용하던
@titicaca/intersection-observer커스텀 패키지를 제거하고,react-intersection-observer라이브러리로 교체합니다.변경 이유
@titicaca/intersection-observer패키지는@titicaca/react-intersection-observer와intersection-observer폴리필을 감싸는 래퍼 패키지였습니다.react-intersection-observer는 더 활발히 유지보수되고, 더 간결한 API를 제공합니다.변경 내역
1.
@titicaca/intersection-observer패키지 삭제packages/intersection-observer/디렉토리 전체 삭제2. 의존성 변경
tds-ui,tds-widget,triple-document패키지에서@titicaca/intersection-observer의존성 제거react-intersection-observer(^9.13.1) 의존성 추가3. 컴포넌트 마이그레이션
react-intersection-observer의InView컴포넌트와useInView훅으로 교체:4. 기타 변경
date-divider.tsx:chromatic-ignore클래스 추가day-picker.stories.tsx: Chromatic 스냅샷 비활성화 설정 추가관련 문서