Skip to main content

Returns

A function that triggers navigation. The host app defines how navigation requests are handled.
options
object
required
Navigation options.

Usage

Notes

  • useNavigate must be called inside a component body function, not at the top level.
  • The to value and how navigation is handled depends entirely on the host app’s navigation setup. The BindJS runtime forwards the request to the native navigation handler.
  • All prop values must be strings.

See Also

  • useAction — dispatch arbitrary actions to the host app