useLink
A hook to navigate with a link.
import { useLink } from 'react-sprout';
let [Link, busy, loading, navigations] = useLink();
- Name
Link
- Type
- Link
- Description
A component to render the link
- Name
busy
- Type
- boolean
- Description
A boolean indicating whether navigations are currently busy.
- Name
loading
- Type
- boolean
- Description
A boolean indicating whether navigations are currently loading.
- Name
navigations
- Type
- Array
- Description
An array of busy navigations.