The pure Matrix/JS Hacker News “Who’s Hiring” project https://kennytilton.github.io/whoishiring/ has now been ported to Matrix/CLJS https://kennytilton.github.io/whoshiring/index.html and will by month’s end replace the former in the AskHN monthly question links. Yay CLJS. While I was at it I added preserving search settings between sessions. Trivial, but…
…twas a PITA because there are so many different settings in that UX. Interestingly, this turned into a first look at what Cells/Matrix looks like when a single data structure (a persisted “preferences” map) serves as a DB, a la Redux or re-frame. The advantage…
…is not having to think, “OK, what widget houses that bit of state I need for this formula.” The downside is the artificial bundling together of state all in one place. I went there only because, hey, I want to persist all these preferences. Hmmm…
…mebbe I should have simply designated a persistent cell saved in local storage? There goes my afternoon….