# Navigation

{% embed url="<https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API>" %}

Pois é, tem um bom tempo que trabalhamos com gerenciamento de navegação em aplicações SPA e, conseguirmos fazer isso nativamente é um baita ganho pois muitos apps simples são criados utilizando frameworks apenas pra ter um controle de rotas facilitado.

Eu diria que essa é a funcionalidade de maior importância na web e vejo a **Navigation API** como um inicio de solução que ainda tem um caminho de evolução que merece ser bem projetada e não pode de maneira alguma cair no mesmo limbo que a [Web Components API](https://www.notion.so/Lista-das-APIs-da-Web-mais-teis-ou-pontualmente-interessantes-5799bdd79b1e4b178f4065d8c2ad8849?pvs=21) está atualmente.

[Link da documentação oficial](https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api) - **whatwg**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guiseek.dev/web-apis/navigation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
