Fork me on GitHub

Are sorted-maps not supported?


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


My bad. Messed up a navigator


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?


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


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


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.