Home
>
Hooks
> useNav([to])
useNav([to])
const
nav
=
useNav
(),
goIndex1
=
()
=>
nav
(
'
index
'
),
goIndex2
=
useNav
(
'
index
'
);