cgrand / enlivez

8 stars 0 forks source link

Why no public or ambient conn or db? #14

Closed cgrand closed 5 years ago

cgrand commented 5 years ago

No db to enforce all reads to be declared (no ad hoc reads hidden in Clojure code) at the template level (but we can have non-dom components: IO and History API fro example).

No conn to enforce that the only way to alter state is through tx-data returning handlers.

tx function is the only place where random queries can occur.