<oembed><type>rich</type><version>1.0</version><title>justinmoon wrote</title><author_name>justinmoon (npub1zx…8cx2y)</author_name><author_url>https://yabu.me/npub1zxu639qym0esxnn7rzrt48wycmfhdu3e5yvzwx7ja3t84zyc2r8qz8cx2y</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>I&#39;m copying a pattern used by Facebook Messenger where all UI state is stored in SQLite and the UI is a thin, pure function render:&#xA;- https://engineering.fb.com/data-infrastructure/messenger/&#xA;- https://www.droidcon.com/2019/10/25/the-light-way-2/ &#xA;&#xA;In the demo I can kill the app and re-open it in exactly the same place because the router state is stored in SQLite.</html></oembed>