본문 바로가기
리액트

React) 로그인 여부에 따라 페이지 접근 제한

by Wanado 2023. 2. 15.
728x90

 

https://medium.com/@dennisivy/creating-protected-routes-with-react-router-v6-2c4bbaf7bc1c

 

Creating Protected Routes With React Router V6

Since React Router moved from version 5 to version 6 I’ve been meaning to update any articles and videos I have on this subject to show you…

medium.com

 

 

 

 

 VV    React V6 이전  VV


https://steadily-worked.tistory.com/831

 

[React] 로그인 여부에 따른 제한 접근 라우팅 구현하기(localStorage 사용)

어제 급하게 달렸던 소프트웨어공학 프로젝트가 마무리되었다. 계속 까먹고 있었는데 제한 접근 라우팅은 로그인 기능이 있는 대부분의 서비스에서 필수로 요구되는 기능이다. 나는 localStorage

steadily-worked.tistory.com

https://ui.dev/react-router-protected-routes-authentication

 

Protected Routes and Authentication with React Router

In this up-to-date guide, you'll learn a pattern for adding protected routes to your React Router application.

ui.dev

 

 

728x90