You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
context API
1. 회원정보 수정
2. context API 를 나누는게 좋다고 생각하는데
LOGIN 여부에 관련된 context하나랑 게시글에 대한 context하나랑 유저 정보 수정에 대한 context가 필요하다고 생각하는데 이렇게 쪼개서 합쳐도 괜찮은가요?
Auth : login + user
INIT
LOGIN
LOGOUT
UPDATE_USER_INFO
Beta Was this translation helpful? Give feedback.
All reactions