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

Custom Hook 만들어줘 #85

Open
atn832 opened this issue Feb 14, 2021 · 1 comment · Fixed by #126
Open

Custom Hook 만들어줘 #85

atn832 opened this issue Feb 14, 2021 · 1 comment · Fixed by #126
Assignees

Comments

@atn832
Copy link
Collaborator

atn832 commented Feb 14, 2021

Custom hook 쓰면 반복 useEffect코드 없어질거야:

  • useUser
  • useReservationStatus

https://reactjs.org/docs/hooks-custom.html#extracting-a-custom-hook

@atn832
Copy link
Collaborator Author

atn832 commented Mar 19, 2021

그리고 useIsAdmin (AddMatch, MatchDetail이 필요해), useMatch (AddMatch, MatchDetail이 필요해).

@atn832 atn832 reopened this Mar 19, 2021
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 a pull request may close this issue.

2 participants