A that uses the HTML5 history API (pushState, replaceState and the popstate event) to keep your UI in sync with the URL.HTML5 history API를 사용하여 UI(화면
React.useState(initial value, func)는 \[initial value, func]를 return한다여기서 func는 initial value를 변경할 때 사용하는 함수이다func은 1개의 arg를 가지고 있고 이 함수가 실행된 후에는 reren