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

[refactor] 헤더 숙소 상태 Recoil atoms -> Context 변경 #163

Open
2 tasks
JitHoon opened this issue Jan 29, 2024 · 0 comments
Open
2 tasks

[refactor] 헤더 숙소 상태 Recoil atoms -> Context 변경 #163

JitHoon opened this issue Jan 29, 2024 · 0 comments
Assignees
Labels
refactor 리펙토링

Comments

@JitHoon
Copy link
Collaborator

JitHoon commented Jan 29, 2024

Description

Recoil은 atom 상태 변경 시 useTransition과 같은 리액트 18버전의 일부 훅의 기능을 지원하지 않습니다.

비동기 API 요청은 React-Query를 사용하고 있으므로
Recoil atom대신 Context를 사용하여 Concurrent Mode에서 지원하는 모든 hook을 사용할 수 있도록 할 예정입니다.

Todo

  • 헤더 숙소 상태 Recoil atoms -> Context 변경
  • 각 페이지에 순차적으로 적용
@JitHoon JitHoon added the refactor 리펙토링 label Jan 29, 2024
@JitHoon JitHoon self-assigned this Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor 리펙토링
Projects
None yet
Development

No branches or pull requests

1 participant