일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- parcel
- git
- 코틀린
- 스타일보험
- 시큐어코딩
- webpack
- sub query
- degit
- 미니게임
- java#왕초보
- Spinner
- 답글
- 게시판
- 왕초보
- Spring
- FIle
- 스프링
- java
- snowpack
- SQL
- Android
- 함수
- 안드로이드
- 숫자
- 상속
- React
- 오버라이드
- 버전일치
- 쿠키
- kotlin
- Today
- Total
YSHUSH
리액트 라이브러리 (스타일링) 본문
1) styled-components
https://styled-components.com/
styled-components
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅🏾
styled-components.com
npm i styled-components
2) emotion
https://emotion.sh/docs/introduction
Emotion – Introduction
(Edit code to see changes)
emotion.sh
npm i @emotion/styled @emotion/react
jsx에서의 임포트문
/** @jsxImportSource @emotion/react */
https://npmtrends.com/@emotion/core-vs-@emotion/react-vs-styled-components
@emotion/core vs @emotion/react vs styled-components | npm trends
Comparing trends for @emotion/core 11.0.0 which has 4,045,362 weekly downloads and unknown number of GitHub stars vs. @emotion/react 11.10.4 which has 4,142,534 weekly downloads and unknown number of GitHub stars vs. styled-components 5.3.5 which has 4,223
npmtrends.com
지금은 emotion이 조금 더 우세한 경향을 보인다.
3) SASS
Sass: Syntactically Awesome Style Sheets
Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
sass-lang.com
npm i sass
'Coding > React' 카테고리의 다른 글
yarn 초기 설정(수정할때 오류날 경우) (0) | 2022.11.11 |
---|---|
리액트 라이브러리 ( 상태관리 ) (0) | 2022.09.09 |
리액트 라이브러리 ( Moking ) (0) | 2022.09.08 |
리액트 라이브러리( UI ) (0) | 2022.09.07 |
리액트 라이브러리 (Date) (0) | 2022.09.06 |