Used to get the runtime context and can only be used in function components.
request: additional information in the request context.
params: dynamic parameters in the request path.pathname: the pathname of the request.query: the query of the request.headers: the header info of the request.cookie: the cookie of the request.store: when the runtime.state is enabled, this value is the Reduck global store.router: When the runtime.router is enabled, this value exists.
location: The current location reflected by the router. The same as [useLocation] the return value of (/apis/app/runtime/router/router.html#uselocation).navigate: Navigate to the given path. The same as the return value of useNavigate.