Table of Contents

Delegate NavigateFunction

Namespace
Velvet
Assembly
Velvet.Docs.dll

What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.

public delegate VelvetTask<NavigationResult> NavigateFunction(NavigateTarget to, NavigateOptions? options = null)

Parameters

to NavigateTarget
What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.
options NavigateOptions
What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.

Returns

VelvetTask<NavigationResult>
What Hooks.UseNavigate returns: React Router's navigate. The options apply to a path target and are ignored for a delta, as React Router ignores them.