hash

    [route-type-safe] URL - 페이지 관리

    URL information URL information? 이 의미는 URL 하나의 정보로 페이지를 탐색할 수 있다. 즉, URL 하나로 search 기능을 한다. history의 Location의 타입을 보면 대표적으로 pathname, search, state, hash를 볼 수 있다. history는 페이지 stack 관리로 SPA가 가능하게 끔 해주는 유용한 인터페이스다. export interface Location { pathname: Pathname; search: Search; state: S; hash: Hash; key?: LocationKey | undefined; } // /id/2#ss?sort=L&page=3 { pathname: '/id/2', search: '?sort=L&p..