-
Notifications
You must be signed in to change notification settings - Fork 213
[10기 김장후] TodoList with CRUD #216
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
Open
kimjanghu
wants to merge
14
commits into
next-step:kimjanghu
Choose a base branch
from
kimjanghu:kimjanghu
base: kimjanghu
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0355050
feat: 초기 설정
kimjanghu 3fda74c
feat: entry point 설정
kimjanghu 0fb7a79
feat: core component 추가
7c73ad4
feat: core state 추가
5da65a2
feat: todo 추가
1f04215
feat: todo data 형식 변경
86965d7
feat: WIP todoList checkbox 진행중..
fabc69e
feat: Add check todo
kimjanghu 58bb086
chore: constants name 수정
kimjanghu 442933a
feat: todo 삭제
kimjanghu 57aea54
feat: 총 todo 갯수 표시
kimjanghu 12a311c
feat: todo 수정
kimjanghu d69a150
feat: todo 수정 및 총 갯수 표시 추가
kimjanghu b4592f1
feat: todo filter 적용
kimjanghu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| export default class State { | ||
| constructor(state) { | ||
| this.state = state; | ||
| } | ||
|
|
||
| get() { | ||
| return this.state; | ||
| } | ||
|
|
||
| set(newState) { | ||
| this.state = newState; | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
이건 마치, 데이터를 담는 그릇(Java에서 POJO 클래스)같은 데요.
이 질문이 여기서 하는 것이 적절한지는 모르겠는데요.
혹시나 해서 여쭐께요. Java에서는 get, set과 같은 것을 lombok의 @Getter 같은 것으로 함수를 적지 않아도 되는 도구가 있는데, Javascript에서도 있는지 궁금해요.
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.
javascript도 getter setter가 있습니다! https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Functions/get