-
Notifications
You must be signed in to change notification settings - Fork 9
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
styled-component 를 v4 로 버젼업을 합니다 #262
Conversation
@@ -145,3 +145,5 @@ injectGlobal` | |||
font-weight: bold; | |||
} | |||
` | |||
|
|||
export default GlobalStyle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 inject 가 아니라 그냥 만들어서 export 하는거면 주입은 _app 이나 _document 같은데서 <HEAD>
사용해서 해야하는건가욤?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아뇹 ! _app 이나 _document 에서
import GlobalStyle from 'xxx'
< GlobalStyle /> 요렇게 사용하드라구요 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엥..? 그럼 GlobalStyle 컴포넌트??
그걸로, 페이지 감싸야하나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Provider>
<React.Fragment>
<Navigation />
<GlobalStyle />
</React.Fragment>
</Provider>
요런느낌일까여 !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음.. 저거 있기만 하면 되는거군요..
props 던져주면 theming 도 구현할 수 있고요 ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
크 ... 역시 눈썰미가 대단하십니다 선배님 ! 나중에 닼모드 할떄 좋을 것 같아유
리베이스 플리즈~ |
@@ -18,7 +18,8 @@ | |||
"@titicaca/core-elements": "^1.0.2", | |||
"@titicaca/modals": "^1.0.2", | |||
"@titicaca/poi-list-elements": "^1.0.2", | |||
"@titicaca/react-contexts": "^1.0.2" | |||
"@titicaca/react-contexts": "^1.0.2", | |||
"isomorphic-fetch": "^2.2.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
triple-document 의 coupon 에서 fetch 를 사용하고있는데 패키지 의존이 없어서 빌드타임에 터져버립니당
cc3d69b
to
1e2068b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking change여서 triple-frontend 릴리즈 정책 잡힐 때까지 잠시만 기다려주시지요!
넵 ! 급한게 아니라서용 ! 🙇 |
#30 제 이슈를 드리겠습니다 |
ㅋㅋㅋ 빠이브라닝 |
앗 저건 5였네용 전 저거 4하는건줄알았는데 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우와 이거 드디어 가는 건가요?!
#295 리뷰와 코멘트를 부탁드립니다 🙇 |
@appear 이거 리베이스 해주셔야할것 가타요.. |
넹 이거 다음 마일스톤에 내보낼게용 ~ |
요거 Rebase하고서 까나리배포로 테스트 해보실까요?! |
오 넵 ! |
1e2068b
to
d57d9bf
Compare
@@ -1,3 +1,3 @@ | |||
# `@titicaca/core-elements` | |||
|
|||
트리플의 프론트엔드 페이지에서 쓰이는 공통 디자인 요소들을 구현한 라이브러리입니다. | |||
트리플의 프론트엔드 페이지에서 쓰이는 공통 디자인 요소들을 구현한 라이브러리입니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👮
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 ㅋㅋㅋㅋ 까나리를 위한 ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엌ㅋㅋ그랬군요
6d473ff
to
8cf52d9
Compare
🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~~ 항공에다 까나리 설치해볼께여~~
크리스마스 다음날 1.3.0
릴리즈시까지 묻어두시죠!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고고
CHANGELOG 챙겨주십셔 🙏 |
설명
styled-component 를 v4 로 버젼업을 합니다
변경 내역 및 배경
use-form-hooks 를 사용하기 위해 v4 의 ref 가 필요하다는 제이지의 말씀이 문득 떠올라서 한번 변경해보았어요
언젠가는 해야된다면 .. 지금 ... ⭐️
기존 사용하던 injectGlobal 은 v3 에서 deprecated 되었어요 createGlobal 을 사용해야되어요
사용 및 테스트 방법
DOCS
스크린샷
이 PR의 유형
체크리스트