emotion
-
[React 라이브러리] 스타일링 라이브러리Programming/JavaScript & TypeScript 2022. 5. 10. 15:33
css 문제점 Global Namespace, Dependencies, Dead Code Elimination Minification, Sharing Constants ..... 글로벌 변수를 지양해야하는 JS와 대치 css간의 의존관리 안쓰는 css 인지 어려움 클래스 이름 최소화 JS의 코드와 값을 공유하고 싶음 파일 로드 타이밍 이슈 1. styled-component 자동 관리 되며, 지우기 쉽다. (css문제점 해결, 스타일을 분리) https://styled-components.com/ styled-components Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps withou..