Intercepts local links from markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.
For instance, in a markdown file with relative links (transformed
a tags by
plugin replaces the default link behaviour
with that of
navigate, preserving the
SPA-like page change without reload.
Check out the Using Remark example to see this plugin in action.
npm install --save gatsby-plugin-catch-links
// In your gatsby-config.js plugins: [`gatsby-plugin-catch-links`]