Skip to content

Conversation

@SINHOLEE
Copy link
Contributor

No description provided.

@SINHOLEE
Copy link
Contributor Author

리액트 예제 추가

@SINHOLEE
Copy link
Contributor Author

@InSeong-So pr 확인해주시고 머지해주세용

@InSeong-So
Copy link
Member

InSeong-So commented Aug 26, 2022

체크 완료~!~!
진짜 생각 많이 했네요ㅋㅋㅋ 고생했으용🥳

Comment on lines +4 to +18
// jsonplaceholder 에서 제공해주는 api 명세를 기준으로 설계함
type Todo = { id: number; userId: number; title: string; completed: boolean };
type Todos = Todo[];

// 이것보다는, 아래와 같이 관리하는게 더 효과적이다!
type WrongTodosState = {
isLoading: boolean;
error?: string;
todos: Todos;
};

// item 28
type TodosSuccess = {
todos: Todos;
type: 'fulfilled';
Copy link
Member

Choose a reason for hiding this comment

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

리액트 프로젝트는 진짜 예제인가요?.?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

진짜예제라는게 무슨뜻이죵 그냥 저라면 이렇게 관리할것같다라는 의도로 작성한거에요 원래 문제로 낼려다가 어떻게 낼지 모르겠어서...ㅋㅋㅋ

Copy link
Member

Choose a reason for hiding this comment

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

ㅋㅋ과제아니구 예제 맞죠? 죠습니당

@InSeong-So InSeong-So merged commit c72a3c6 into pagers-org:main Aug 26, 2022
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.

2 participants