Replies: 1 comment
-
|
From. @SanginJeong 제 생각에는 react가 렌더링 과정에서 사용하지 않는 state나 props를 검사하는 과정이 있는 것으로 알고 있습니다. fiber가 내부적으로 메모이제이션이나 변경전 state, props들을 기록하고 있는데, 이 변경을 감지하는 과정에서 state나 props도 객체이기 때문에 참조하지 않는 state, props가 생기면 JS엔진이 가비지 컬렉터를 실행하는게 아닐까 싶습니다. 제 뇌피셜이에요 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Beta Was this translation helpful? Give feedback.
All reactions