Box 컴포넌트 추가 제안 #652
Closed
inhibitor1217
started this conversation in
Ideas
Replies: 4 comments
-
children의 length가 1이고, 그게 |
Beta Was this translation helpful? Give feedback.
0 replies
-
넵 말씀하신 경우가 맞습니다 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Box가 굉장히 많이 쓰이는 경우, 비교 과정이 생각보다 성능에 영향이 있을 거 같아서
두 케이스를 테스트해봐야할 거 같아요. |
Beta Was this translation helpful? Give feedback.
0 replies
-
여러 개 div를 렌더링하는 것이 꼭 성능의 이슈라기보다는, element styling 구조상 한 div에 여러 스타일이 동시에 먹어야 올바르게 보이는 경우가 있어 이것을 고려하여 제안드린 스펙입니다 |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Solution (proposal)
이라는 구조를 가지면 어떨까 합니다. Box를 기반으로 만들어진 컴포넌트도 Box 취급을 받게 하면 Flexbox, Center, Stack, FlexChild 등 책임을 다양한 컴포넌트로 분리하면서도 최종적으로 렌더링되는 결과는 다 merge되어 div 한 개가 될 수 있도록 하는 방법!
Beta Was this translation helpful? Give feedback.
All reactions