Skip to content
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

[오혜성] 챕터 5: 최신 자바스크립트 문법과 기능 #29

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

hyesungoh
Copy link
Member

:rage2:

Comment on lines +83 to +92
- 화면에 보이면 가져오기
- IntersectionObserver
> 다들 추상화한 훅을 만들어 사용하시겠지만..
> framer-motion을 사용하시면 useInView 훅이 있음
> https://www.framer.com/motion/use-in-view/?srsltid=AfmBOoqABYI17UD24TzhmtKKwAoNVbfo1TSe5rE_rhXwIYSaigNSK0q_
>
> 내부적으로 IntersectionObserver와 WeekMap으로 최적화함
>
> https://github.com/framer/motion/blob/main/packages/framer-motion/src/utils/use-in-view.ts
> https://github.com/framer/motion/blob/main/packages/framer-motion/src/render/dom/viewport/index.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오오 유용한 정보 감사합니다 👍

Copy link
Contributor

@sangbooom sangbooom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

잘 읽었습니다! 👍🏻

@hyesungoh hyesungoh merged commit 08c0dc6 into main Oct 25, 2024
1 check passed
@hyesungoh hyesungoh deleted the 챕터5/오혜성 branch October 25, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants