Blog posts index page 9

Heroicons from ClojureScript

Update 2022-02-20: Requiring single icons using :refer causes ALL Hero icons to be included in builds (even optimized). Instead, use :as (multiple times). Examples below have been updated.

In my opinion, Clojure and ClojureScript is lacking in the documentation department, especially when it comes to integrations with things outside the Clojure ecosystem.

Read more...

Realtime DB synchronization to frontend

Midjourney prompt: A database silo on the left and with minimalist simple modern UI frontend dashboard with sparse data points on the right. Between them flows sparks of data.

I’ve set out to solve: How to synchronize “low volume” parts of a database to a frontend in real-time, exclusively for reads. In this scenario, “low volume” means few entries with a low update frequency. Let’s say we’re talking about less than a thousand entries affected by fewer than ten updates every minute across all entries.

Read more...