← Advanced tutorial: build a routed reading list

6. Run the storage round trip

Navigation · State · Data · Host · about 30 minutes
save → change → restore → reload → restore

Use the printed preview URL to verify the asynchronous browser-storage boundary separately from the deterministic test.

When to use it

Run only after check and test pass; keep the terminal open while verifying the current browser host.

  • Saving… and Loading… are immediate application states; View saved or View restored arrives through app.resolve.
  • Restoring before the first save may fail or return empty data; the current route and filter must remain usable.
  • A browser-host pass does not prove storage behavior in every desktop or mobile host.

Focused example

luastra run
# Open the READY URL printed by Luastra.
# Press Open note 7, Toggle filter, then Save view.
# Press Back to library and Toggle filter: expect / and all.
# Press Restore view: expect /notes/7 and favorites.
# Reload the page, press Restore view again, and expect the same saved view.
# Stop the preview with Ctrl+C.

Complete inventory

View all pages in Advanced tutorial: build a routed reading list
← Previous: 5. Check the deterministic modelNext: 7. Understand the trust boundaries →