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

리액트: mount vs render #52

Merged
merged 1 commit into from
Aug 19, 2024
Merged

리액트: mount vs render #52

merged 1 commit into from
Aug 19, 2024

Conversation

Jaymyong66
Copy link
Member

레벨 3 하면서 느낀 점: 기본기가 부족하다. JS와 리액트 기본 동작을 잘 익히자.

@soi-ha soi-ha requested a review from lurgi August 19, 2024 03:57
Copy link
Member

@lurgi lurgi left a comment

Choose a reason for hiding this comment

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

마운트 렌더링에 대해서 잘 알게되었습니다~
한가지 궁금증은
마운트를 시키는 것보다 재렌더링을 시키는게 성능상 이점이 있을까? 입니다~ 그러면 JSX에서

state ?? <div></div>

이렇게 쓰는 것 보다

<div state={state}/>

이렇게 쓰는게 성능상 이점이 있을 것 같단 생각이 드네용

@lurgi lurgi merged commit 7a6529b into main Aug 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants