Skip to content
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

[이상조] 5장: 리액트와 상태 관리 라이브러리 #59

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

sjoleee
Copy link
Member

@sjoleee sjoleee commented Jan 20, 2024

어렵네요...

Copy link
Member

@hyesungoh hyesungoh left a comment

Choose a reason for hiding this comment

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

고생하씀다 👍 👍 👍

Comment on lines +36 to +38
### Recoil, Zustand, Jotai

- Recoil, Zustand, Jotai는 애초에 react를 위한 라이브러리로 peer deps에 react가 포함.
Copy link
Member

Choose a reason for hiding this comment

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

슈스탄트의 경우 피어 디펜던시에 포함이 되어있긴 한데,
리액트 밖의 바닐라에서도 쓸 수 있긴 한 거 같더라구용

https://github.com/pmndrs/zustand/tree/main/src/vanilla
https://github.com/pmndrs/zustand/blob/27bffb1fba9de4c958f4a4b4d31c20e54e579fc0/package.json#L37-L49

### useState와 Context를 동시에 사용해 보기

- 위 로직은 store + useStore가 하나의 세트로...
- 아니 근데 책에서 설명한 context를 사용하는 방식이나 바로 위에 나온 방식이나... context를 사용한다고 해서 뭐가 더 좋아지는지 잘 모르겠다.
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

@Dongkyuuuu Dongkyuuuu left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!!

@hyesungoh hyesungoh merged commit e7232a9 into main Feb 2, 2024
1 check passed
@hyesungoh hyesungoh deleted the 5장/이상조 branch February 2, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants