Skip to content

Conversation

@ChaMinXD
Copy link

@ChaMinXD ChaMinXD commented Mar 14, 2024

개요

SSAFE LOGIN Pull Request

작업 내용

어떤 변경 사항이 있나요?

  • Protected Router 적용
  • Protected Router 을 적용하여 AuthHeader 에 정보가 있을 경우에만 test page 로 이동 할 수 있도록 변경
  • Page , Navigation 네이밍 컨벤션 수정
  • Home , Main , Test 의 네이밍 컨벤션 수정 , Nav -> Navigation 으로 네이밍 컨벤션 수정
  • Axios Base Url 설정
  • localhost8000 : 을 Axios BaserUrl 로 설정
  • 로그인 , 로그아웃 , Test 용 버튼 추가

작업 예정

  • Validation 로직 수정
  • vercel 배포

<Routes>
<Route path="/" element={<Home />} />
<Route path="/main" element={<Main />} />
<Route path="/test" element={<ProtectedRoute isAuthenticated={isAuthenticated}><Test/></ProtectedRoute>} />
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
Member

Choose a reason for hiding this comment

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

setIsButtonDisabled 로직이 너무 산재해요
조금 정리가 필요해보여

Copy link
Member

Choose a reason for hiding this comment

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

나라면 let 안쓸듯 ?

Copy link
Member

Choose a reason for hiding this comment

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

작동 잘하는 좋은 레거시로 잘 알아본거같아 !
내가 실무에서 이렇게 쓰이면 그대로 쓸거같은데
연습겸 한번 함수형으로 만들어보는거 추천 !

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