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

styled-component 를 v4 로 버젼업을 합니다 #262

Merged
merged 7 commits into from
Dec 23, 2019
Merged

Conversation

appear
Copy link
Contributor

@appear appear commented Nov 23, 2019

설명

styled-component 를 v4 로 버젼업을 합니다

변경 내역 및 배경

use-form-hooks 를 사용하기 위해 v4 의 ref 가 필요하다는 제이지의 말씀이 문득 떠올라서 한번 변경해보았어요
언젠가는 해야된다면 .. 지금 ... ⭐️

기존 사용하던 injectGlobal 은 v3 에서 deprecated 되었어요 createGlobal 을 사용해야되어요

사용 및 테스트 방법

DOCS

스크린샷

이 PR의 유형

  • 버그 또는 사소한 수정
  • 기능 추가 (하위 호환을 유지하면서 기능을 추가합니다.)
  • Breaking change (관련 컴포넌트를 기존에 사용하던 곳들에 코드 수정이 필요합니다.)

체크리스트

  • 기능 추가 및 breaking change에 대한 CHANGELOG를 추가했습니다.
  • docs의 스토리를 변경했습니다.

@appear appear requested a review from a team as a code owner November 23, 2019 11:56
@@ -145,3 +145,5 @@ injectGlobal`
font-weight: bold;
}
`

export default GlobalStyle
Copy link

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> 사용해서 해야하는건가욤?

Copy link
Contributor Author

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 /> 요렇게 사용하드라구요 !

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엥..? 그럼 GlobalStyle 컴포넌트??
그걸로, 페이지 감싸야하나요?

Copy link
Contributor Author

@appear appear Nov 23, 2019

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>

요런느낌일까여 !!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

음.. 저거 있기만 하면 되는거군요..
props 던져주면 theming 도 구현할 수 있고요 ㅎㅎ

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크 ... 역시 눈썰미가 대단하십니다 선배님 ! 나중에 닼모드 할떄 좋을 것 같아유

@appear appear requested a review from a team November 25, 2019 04:28
@boxersb
Copy link

boxersb commented Nov 25, 2019

리베이스 플리즈~

@@ -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"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

triple-document 의 coupon 에서 fetch 를 사용하고있는데 패키지 의존이 없어서 빌드타임에 터져버립니당

inbeom
inbeom previously approved these changes Nov 25, 2019
Copy link
Contributor

@inbeom inbeom left a 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 릴리즈 정책 잡힐 때까지 잠시만 기다려주시지요!

@appear
Copy link
Contributor Author

appear commented Nov 25, 2019

넵 ! 급한게 아니라서용 ! 🙇

boxersb
boxersb previously approved these changes Nov 25, 2019
@yceffort
Copy link

#30 제 이슈를 드리겠습니다

@appear
Copy link
Contributor Author

appear commented Nov 25, 2019

ㅋㅋㅋ 빠이브라닝

@yceffort
Copy link

yceffort commented Nov 25, 2019

ㅋㅋㅋ 빠이브라닝

앗 저건 5였네용 전 저거 4하는건줄알았는데 🤔
5로 올려야될 필요성이 생기면 제가 진행하도록 하겠습니다

@inbeom inbeom requested a review from a team December 4, 2019 02:33
polysiya
polysiya previously approved these changes Dec 4, 2019
Copy link
Contributor

@polysiya polysiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

우와 이거 드디어 가는 건가요?!

@appear
Copy link
Contributor Author

appear commented Dec 4, 2019

요거 살짝 무서워서 이욜 선생님께서

image

배포 해주시면 .. 확인후 내보내보겠습니다 !

@inbeom
Copy link
Contributor

inbeom commented Dec 4, 2019

#295 리뷰와 코멘트를 부탁드립니다 🙇

@inbeom inbeom added common Common issue enhancement New feature or request labels Dec 4, 2019
@inbeom inbeom added this to the 1.2.0 milestone Dec 4, 2019
@boxersb
Copy link

boxersb commented Dec 5, 2019

@appear 이거 리베이스 해주셔야할것 가타요..

@appear
Copy link
Contributor Author

appear commented Dec 5, 2019

넹 이거 다음 마일스톤에 내보낼게용 ~

@appear appear removed this from the 1.2.0 milestone Dec 5, 2019
@inbeom
Copy link
Contributor

inbeom commented Dec 6, 2019

요거 Rebase하고서 까나리배포로 테스트 해보실까요?!

@appear
Copy link
Contributor Author

appear commented Dec 6, 2019

오 넵 !

@appear appear dismissed stale reviews from polysiya, boxersb, and inbeom via d57d9bf December 6, 2019 08:43
@@ -1,3 +1,3 @@
# `@titicaca/core-elements`

트리플의 프론트엔드 페이지에서 쓰이는 공통 디자인 요소들을 구현한 라이브러리입니다.
트리플의 프론트엔드 페이지에서 쓰이는 공통 디자인 요소들을 구현한 라이브러리입니다.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👮

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 ㅋㅋㅋㅋ 까나리를 위한 ..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엌ㅋㅋ그랬군요

@giwan-dev giwan-dev added this to the v1.3.0 milestone Dec 12, 2019
@appear appear requested a review from a team December 20, 2019 08:05
@appear
Copy link
Contributor Author

appear commented Dec 21, 2019

🙇

Copy link

@boxersb boxersb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~~ 항공에다 까나리 설치해볼께여~~
크리스마스 다음날 1.3.0 릴리즈시까지 묻어두시죠!!

Copy link
Contributor

@inbeom inbeom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고고

@inbeom
Copy link
Contributor

inbeom commented Dec 22, 2019

CHANGELOG 챙겨주십셔 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Common issue enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants