2021-10-25 11:43

react에서 CSS display none을 쓰면 어떤 일이?

display: block -> display: none이 된 component는
렌더링되지 않는다
DOM tree에는 보인다
React devtools Component tab에는 보인다
component는 destroy 되지 ...

댓글