Fork me on GitHub
#specter
<
2017-11-13
>
hkjels13:11:50

Are sorted-maps not supported?

nathanmarz14:11:05

@hkjels they are... why do you ask?

hkjels16:11:00

My bad. Messed up a navigator

ul21:11:04

Hey folks, i'm investigating options for organizing state in my client app. I want DB-like experience, but existing solutions are still not convincing, including DataScript. How do you think, is it viable to use just normalized maps and query/update them with Specter? Is it easy to emulate joins with Specter?

nathanmarz21:11:37

@ul joins are not in the scope of specter, but otherwise specter is very helpful for managing state

nathanmarz21:11:25

since it's so elegant to handle data structures of arbitrary complexity, it gives you the freedom to model your data in the best possible way

ul22:11:16

I see at least two pros on that way: 1. My data will be highly explorable outside main query mechanics (because it will stay just Clojure datastructures) 2. It will be friendly to reactive approach I use: Specter queries will fit perfectly into reactive formulas, and with proper data organization will trigger not much redundant recalculations.