Skip to content

[AIBE3/4팀/이록은] TODO APP 만들기 완료#32

Open
Leere1 wants to merge 2 commits intosik2:mainfrom
Leere1:main
Open

[AIBE3/4팀/이록은] TODO APP 만들기 완료#32
Leere1 wants to merge 2 commits intosik2:mainfrom
Leere1:main

Conversation

@Leere1
Copy link

@Leere1 Leere1 commented Jul 10, 2025

No description provided.

Copy link

@inti0 inti0 left a comment

Choose a reason for hiding this comment

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

코드 잘 봤습니다! 과제 제출하느라 고생 많으셨습니다.

npm install

# 개발 서버 실행
npm run dev
Copy link

Choose a reason for hiding this comment

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

깔끔하게 잘 작성해주신 readme PR 클릭시 바로 보이면 더 좋을 것 같습니다!

inputRef.current.focus();
inputRef.current.select();
}
}, [isEditing]);
Copy link

Choose a reason for hiding this comment

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

focus와 select로 수정시 기존 내용을 전부 블럭처리 해주네요! 좋은 기능 같습니다.

</div>
</li>
);
}
Copy link

Choose a reason for hiding this comment

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

각 버튼에서 px-3, py-1등의 css속성들이 중복되는데 이런 공통된 부분은 묶을 수 있지 않을까 싶습니다. 또 return 부분이 상당히 긴데 작게 분리할 수는 없을까 하는 생각도 듭니다!

} catch (e) {
console.log(e);
}
};
Copy link

@inti0 inti0 Jul 10, 2025

Choose a reason for hiding this comment

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

image

수정시 바로 storage에 반영되지 않는 것 같습니다. 이 상태에서 다른 동작(todo추가나 toggle등)을 하면 그때서야 변경감지되어 storage에 반영이 되는데 만약 수정한채로 추가 동작 없이 프로그램이 종료된다면 좋지 못한 사용자 경험이 될 것 같습니다. 😢

또 log()보다는 console.error()를 사용하는 것이 더 좋을 것 같습니다!

</span>
)}
</span>
)}
Copy link

Choose a reason for hiding this comment

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

등록시간은 todo를 눌러야 뜨는데, 코드를 보기 전까지는 어떠한 표시가 없어서 해당 기능이 있는지 모를 것 같습니다. 그리고 특정 상황에서 한번 시간이 깨졌는데 이유는 잘 모르겠습니다.

Copy link

@dbjoung dbjoung left a comment

Choose a reason for hiding this comment

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

totalSet처럼, 특정 작업이 반복되는 코드를 묶어서 코드의 반복을 줄인 부분이 인상 깊었습니다. 많이 배웠습니다. 과제 수행 고생하셨습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants