-
Notifications
You must be signed in to change notification settings - Fork 1
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
스케줄 상세주소 추가 작업 #300
스케줄 상세주소 추가 작업 #300
Conversation
✅ Deploy Preview for affectionate-jones-aa31c6 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
👍
method: 'GET', | ||
headers: { | ||
'Content-Type': 'application/json', | ||
Authorization: 'KakaoAK cc4af66dc10aa1a20830f3cc62c40a87', |
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.
우리 public 레포인데 이건 이렇게 노출해도 되는건가?.?
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.
띠용..😓 처리할게용
@@ -0,0 +1,15 @@ | |||
import { useEffect } from 'react'; | |||
|
|||
const useScript = (url: string) => { |
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.
해당 hook에서 isScriptLoaded 같은 상태를 관리하고 hook 외부로 헤딩 싱태를 return 해주면 hook의 사용도가 더 올라갈거 같다는 생각!
const baseAddress = address.replace(/\s*\(.*?\)\s*/g, ''); | ||
const [, detailAddress] = address.match(/\(([^)]+)\)/) ?? []; |
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.
이건 내 개인취향인데 정규식은 최대한 하는일에 맞게 이름을 지어주면 코드 파악이나 유지보수 할때 좋은거 같아! 사실 정규식이 한눈에 딱 보고 뭐하는지 알기가 힘드니ㅎㅎ
변경사항
작업 유형
체크리스트