Link Provider @astryx-svelte/core v0.3.0 · Link

Usage

Wraps your app to replace the default <a> tag with a framework-specific link component (e.g. Next.js Link) for client-side routing across all Astryx components.
ts
import { Link } from '@astryx-svelte/core';

Examples

Common configurations, variations, and states.
Link Provider — Custom Link Component
Routes every Astryx link through a custom component that intercepts the click, the hook frameworks like Next.js use for client-side navigation. Click the link to see the custom handler fire instead of a full-page load.