achor
[Gatsby] Anchor Tag 대신 Link Component
[Gatsby] Anchor Tag 대신 Link Component
2020.04.11Gatsby에서 내부 페이지로 이동할 때 Link Component를 써야 하는 이유 Anchor Tag(텍스트) 이동하는 페이지를 전부 로딩한다 그렇기 때문에 이동하면서 번쩍거린다 부자연스러워 보인다 Link Component Gatsby’s component enables linking to internal pages as well as a powerful performance feature called preloading. 출처: https://www.gatsbyjs.org/docs/gatsby-link/#how-to-use-gatsby-link 내부 페이지 안에서 이동할 때 미리 로딩을 해서 자연스럽게 보이게 한다 gatsby 모듈에 정의되어 있다 링크로 이동할 때 (이질감 없이) 훨씬 자연스럽게..