Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- java
- 브루트포스
- url parsing
- 정렬
- 다익스트라 알고리즘
- nodejs
- sort
- spring
- Spring Boot
- 스터디
- 탐욕법
- 백준알고리즘
- EC2
- mysql
- 알고리즘
- 완전탐색
- 라우터
- 리액트
- 서버구축
- 자료구조
- Router
- AWS
- 동적프로그래밍
- react
- Algorithm
- EventListener
- BFS
- 백준
- ELB
- 토이프로젝트
Archives
- Today
- Total
목록History (1)
공부하는 블로그

Router Props 브라우저와 리액트앱의 라우터를 연결하게 되면 그 결과 라우터가 history api에 접근할 수 있게 되며 각각의 Route와 연결된 컴포넌트에 props로 match, location, history라는 객체를 전달하게 된다. import React from 'react'; import { BrowserRouter as Router, Route, Switch, Link } from 'react-router-dom'; import Home from './components/home'; import Community from './components/community'; import Mypage from './components/mypage'; function App() { retu..
React
2020. 1. 17. 19:57