-
Notifications
You must be signed in to change notification settings - Fork 2
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
[ 4주차 기본/심화 과제 ] 비니의 날씨 입니다 #9
Conversation
@@ -0,0 +1,2 @@ | |||
# VITE_APP_WEATHER='587bd6b133db966f6015b13ee1898879';//언니꺼 | |||
VITE_APP_WEATHER='fb02f9333a202901a648da747fc19542' #내꺼 |
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.
ㅋㅋㅋㅋㅋgitignore에 얼른 추가해줘
@@ -0,0 +1,2 @@ | |||
# VITE_APP_WEATHER='587bd6b133db966f6015b13ee1898879';//언니꺼 | |||
VITE_APP_WEATHER='fb02f9333a202901a648da747fc19542' #내꺼 |
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.
ㅋㅋㅋㅋㅋgitignore에 얼른 추가해줘
Error 404 | ||
</h1> | ||
<p> | ||
주소가 잘못되진 않았나요? |
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.
너무 친절하고 귀엽다ㅎㅎ
border-radius: 1rem; | ||
background-color: ${(props)=>props.theme.lightGreen}; | ||
|
||
&::placeholder { // 앞에 & 꼭... |
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.
귀여운 주석 발견!ㅎㅎ 가끔 이런 거 빼먹어서 헤맬 때 있지ㅠ
✨ 구현 기능 명세
✅ 기본 과제
/day/:area
/week/:area
와 같이 Param로 검색한 지역 넘겨주기✅ 심화 과제
🌼 PR Point
Outlet + Route ⛓
‼ 처음에 day/week 도 param로 받아오고 싶어서 이런 저런 시도를 해봤는데, 생각만큼 잘 안돼서… ㅠㅠ 냅다 하드 코딩마냥 박았습니다. 그랬더니 코드가 지져분해 보이는 것 같아서 속상
⇒ day/week 코드에 신경쓸게 엄청 많아져서 와장창 꼬여버리는 이슈 발생!! 길을 잃음
⇒ customHooks써서 코드 정돈 되면 좀 수월하게 가능할 것 같은데 🤔
일간 / 주간 + 지역(영어) 검색 🔍
기상 카드 🌩
심화과제
🥺 어려웠던 점
스켈레톤 UI!!!!!!!!!!!
useState의 비동기 처리
내가 원하는 순간에 동작하지 않아서 몇 번을 뜯었는지 ㅜㅜ 리액트의 상태 변화를 더 공부해야겠습니다 + useEffect 깔끔하게 쓰기
+useEffect로 dayWeek, area 넣어주고
+초기값 설정해줘서 해결
🌈 구현 결과물