illustration for Use Gatsby’s Link Component to Improve Site Performance and Simplify Site Development
pro

Use Gatsby’s Link Component to Improve Site Performance and Simplify Site Development

Instructor

Jason Lengstorf

11m closed-captioning
·
6 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.3
20
people completed
Published 6 years ago
|
Updated 6 years ago

Gatsby’s Link component is a powerful way to improve the user experience and simplify the development workflow when building Gatsby sites. It makes navigating between internal links instantaneous, creating an app-like feel, and provides helpers for various common use cases.

In this playlist, you’ll learn:

  • Why and how to use Gatsby’s Link component for internal link navigation
  • How to set styles for the currently active link
  • How to apply active styles to parent pages and other partially matching URLs
  • How to send state information in the props of the Link target
  • How to replace items in the navigation history
  • How to navigate programmatically using the navigate helper function