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

[IS-04-Q] styled component 사용시 변수로 제어? 클래스 네임으로 제어? #32

Open
CHEWCHEWW opened this issue Apr 24, 2021 · 0 comments

Comments

@CHEWCHEWW
Copy link
Collaborator

현재 컴포넌트 state에 따라 className을 변경하거나 혹은 변수를 인자로 줘서 스타일드 컴포넌트 내에서 조건 체크를 하는 부분이 혼재되어 있습니다. 둘 중 어떤 방식이 더 좋을지, 그리고 두 방식에 따라 렌더링 퍼포먼스에 차이가 있을지 고민해봅시다

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

No branches or pull requests

1 participant