useNavigation
useNavigation(
anchor?,options?):NavigationState
The published Experience tree, for building a breadcrumb, a nav menu, or a pager.
Seeded synchronously from client.peekTree() on mount, as useExperience is, so a repeat visit
paints its navigation immediately and revalidates behind it. Degrades to a plain loading state
when persistence isn’t configured.
Parameters
Section titled “Parameters”anchor?
Section titled “anchor?”string
options?
Section titled “options?”NavigationOptions = {}