Skip to content

Instantly share code, notes, and snippets.

@laurenzcodes
Last active January 12, 2023 17:42
Show Gist options
  • Save laurenzcodes/5c0280b834cc0dba1451cdbbde29f6e3 to your computer and use it in GitHub Desktop.
Save laurenzcodes/5c0280b834cc0dba1451cdbbde29f6e3 to your computer and use it in GitHub Desktop.
Gatsby Link Component that preserves url parameters after route change
@adeleke5140
Copy link

Does this component retain the activeStyle class?
I have noticed that the activeStyle class doesn't apply when you add query-string to the URl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment