Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FOSS-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
임 현아
FOSS-lab
Commits
9c351f88
"...study/git@git.ajou.ac.kr:alfex4936/kafka-Studies.git" did not exist on "768e01ea3462f2bfad916913c612cb4f3812290e"
Commit
9c351f88
authored
2 years ago
by
임 현아
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
d890bf9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-1
21 additions, 1 deletion
README.md
with
21 additions
and
1 deletion
README.md
+
21
−
1
View file @
9c351f88
...
...
@@ -7,11 +7,29 @@
---
# 기말 과제
# 기말 과제
보고서
### Open Source Software 사용법/리뷰 문서 만들기 - REACT Router 사용법
*
React Router v6란?
보통 웹사이트에서는 주소를 입력하거나 링크를 클릭하면 새로운 페이지를 보여준다.
리액트로 이런 사이트를 만들기 위해서는 따로 추가적인 개발이 필요하다.
React Router 라는 것을 사용하면 이런 기능을 편하게 구현할 수 있다.
React Router는 리액트 컴포넌트로 페이지를 나누는 라이브러리이다.
Router의 핵심 컴포넌트에는 Router, Route, Routes, Link 4가지가 있다.
참고로, 리액트 라우터는 리액트에서 제공하는 기본 기능이 아니기 때문에 따로 설치해서 사용해야 한다.
*
주제 선정 이유 :
리액트에서는 모든 걸 부품, 컴포넌트라는 단위로 개발한다.
웹페이지에 있는 여러 가지 요소들을 컴포넌트로 만들고 코드를 컴포넌트 단위로 관리한다.
HTML만 사용하면 웹사이트를 만들 때 페이지마다 파일을 하나씩 만들어주어야 하지만, 리액트에서는 페이지를 만들 때도 컴포넌트로 효율적으로 만들 수 있다.
React Router 라이브러리를 사용해서 웹사이트를 컴포넌트로 만드는 법을 익혀보자.
*
목차
1.
React Router v6 소개
...
...
@@ -19,3 +37,5 @@
3.
리액트 라우터 사용해보기
4.
결과 확인
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment