useRouter #
Router of the current app: navigation, guards and the current route.
Usage #
TypeScript
import { useRouter } from 'kawapress/client'
const router = useRouter()
router.push('/guide/')Returns The router.
Full type signature
TypeScript
function useRouter(): Router

Comments