-
Notifications
You must be signed in to change notification settings - Fork 4
[mission001] todolist crud #32
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
base: master
Are you sure you want to change the base?
Conversation
|
다시 만나게 되어서 반가워요. 저도 많이 밀리다보면 쫓아가기 버겁고, 그러다가 보면 놓아버리는 경우가 생기더라구요. 계속 함께 발전해 나갔으면 좋겠습니다. 😃 |
|
안녕하세요! 먼저 전체적인 느낌을 말씀드리겠습니다.
다음은 피드백 내용인데 아직 많이 부족해서 작은 부분만 해드릴 수 있는 점 양해 부탁드리겠습니다.
|
mission001/dali/src/js/api/index.js
Outdated
| export const getTasks = async () => { | ||
| const { data } = await axios.get(TASKS_URL); | ||
| return data; | ||
| }; No newline at end of file |
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.
전체적으로 end of line이 없는 것 같습니다. File의 EOL은 POSIX환경에서 정해놓은 일종의 명세이니 지켜주시면 좋습니다. 파일 끝에 개행을 추가해야 하는 이유
루카스가 예전에 달아준 코멘트인데 복붙 해왔습니다!
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.
전체적으로 end of line이 없는 것 같습니다. File의 EOL은 POSIX환경에서 정해놓은 일종의 명세이니 지켜주시면 좋습니다. 파일 끝에 개행을 추가해야 하는 이유
루카스가 예전에 달아준 코멘트인데 복붙 해왔습니다!
마지막줄에 엔터키가 필요하다는 의미로 보면 될까요? 제 파일을 확인해보니 대부분 안되어있었네요. ㅜ.ㅜ
| } | ||
| handleClicked({target}){ | ||
| const id = getClosetLI(target).dataset.id | ||
| // 의문점 switch case return 안하니까 둘다 탄다 ?? 왜 ? |
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.
공부하다가 혹시 이 내용일 수도 있어서 남겨 봅니다.
아래의 switch 문처럼 break가 없을 경우
toggle, destroy 둘 다 출력이 됩니다.
let className = "toggle";
switch (className) {
case "toggle":
console.log("toggle");
case "destroy":
console.log("destroy");
}
// toggle
// destroy
switch 문이 case 표현식의 매칭이 끝나고 break 없는 코드 블록의 내용이 다 실행되면
다음 case의 표현식을 매칭하지 않고 바로 코드 블록의 내용이 실행 되는 것 같습니다.
잘못알고 있었네요.
그리고 이건 you don't know js 에 나온 switch 내용이니 참고해보시면 좋을 것 같습니다.
switch
|
좋게봐주셔서 감사합니다 ㅜㅜ vue에 dep만 가지고 온 부분이여서 이상하게 짬뽕시켰을 확률이 높아요
|
|
일요일에 마저 안 된 부분 진행하고 피드백 요청 드릴게유 ~~ |
+ uuid library 추가 [Ticket: MISSON-01-todocount]
template에 completed -> checked랑 연동 안된 부분 수정
웹팰 설정 plugins minicssextractplugin 덮어 썼던 부분 수정
다 못하였는데 한달쨰 PR 안 날리고 있어서 부끄러워서 일단 한데 까지만 이라도 날리고
이어서 작업하도록 하겠습니다 ㅜ
아쉬운 점
vue 에 Dep와 비슷한 구조와 + extends를 활용하고 dispatch action 등 네이밍만 비슷하게 사용한게 아닌지 어색한 느낌이 강하네요
특히 더 리뷰 받고 싶은 부분
ETC
focusoutevent를 감지 못하는데 input event를 제대로 잘 몰라서 삽질을 하고 있는 중입니다 수정중이 발생할 때 inputEl -> focusout 이벤트리스너를 달아주면 될것이라 생각했는데 동작을 안 하네용;ㅁ;혹시 아시는 분 도움주실 말 있으면 감사하겠습니다