# `Macaw.State.Persistence.Url`
[🔗](https://github.com/dcoai/macaw/blob/v0.6.0/lib/macaw/state/persistence/url.ex#L1)

State in the URL (spec/03 §3): the carrier is a params map, as Phoenix decodes a query
string (`handle_params/3`'s params) and encodes one (a verified route's query, or
`Plug.Conn.Query.encode/1`), each surface's values nested under its name:

    ?status[table_services.sort]=host&status[table_services.order]=desc

A link carries the view, so a reload or a shared link restores it. Only state that may
be seen in a URL belongs here: a host keeps visitor-specific state out of it, or marks a
source `persist: false`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
