Closed kswgit closed 6 years ago
리액트 GridLayout 컴포넌트에 자식이 없었을 경우, 자식이 추가되더라도 GridLayout컴포넌트가 렌더되지 않는 문제가 있습니다.
자식이 1개 이상 있었을 경우, 문제없이 동작합니다.
@egjs/react-layout
1.3.0 version has been deployed.
Please try it. Thank you.
I have tried, and there is no more problem! Thank you.
Description
GridLayout is not rendered when it has never had no child
I am using egjs-react-layout.
Steps to check or reproduce
sample source
GridLayout has no child, and it is not rendered even if it get more children.
However, everything is fine when
state.length
initialize with1
like below.