mpdairy / posh

A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.
Eclipse Public License 1.0
460 stars 45 forks source link

Could `(posh! conn)` return updated conn instead of mutating conn? #28

Open theronic opened 6 years ago

theronic commented 6 years ago

It would be nice if a connection was as close to an unrealized value as db is in Datomic land, and poshing a conn would make a conn that is now monitored.

I'm half-asking because I've been tripped up on when/where I call posh! (dunno what happens if I call it multiple times), and because I'd like to understand the internals better :).

Thanks for posh! It's great :)