Skip to content
Darkmown 2.7

The URL is state

A filter nobody can link to is half a feature. Add from-url to a :state and the value lives in the query string as well as in memory: reload keeps it, a shared link arrives with it applied, and back and forward move through it.

Search and filter

Tier all, search "".

  • Aurora Lamp · $49.00 (budget)
  • Briza Fan · $89.00 (budget)
  • Cove Shelf · $240.00 (premium)
  • Dune Rug · $310.00 (premium)

Type in the box and watch the address bar. Then reload the page: the search and the tier come back. Copy the URL into a new tab and it opens on the same view. The tier radio is a second key riding along in the same URL; it is shown above the list rather than wired into the filter, so you can see two from-url keys travel together.

The rules

Read the docs on URL as state