This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-04
Channels
- # aatree (5)
- # admin-announcements (37)
- # alda (1)
- # announcements (4)
- # architecture (1)
- # aws (3)
- # beginners (82)
- # boot (230)
- # braid-chat (14)
- # cider (48)
- # cljs-dev (8)
- # cljsrn (31)
- # clojars (47)
- # clojure (72)
- # clojure-austin (2)
- # clojure-russia (396)
- # clojurescript (72)
- # community-development (3)
- # component (6)
- # core-async (6)
- # cursive (26)
- # datomic (42)
- # emacs (6)
- # events (35)
- # hoplon (57)
- # immutant (3)
- # jobs (2)
- # jobs-discuss (10)
- # ldnclj (16)
- # luminus (2)
- # off-topic (50)
- # om (181)
- # parinfer (285)
- # proton (68)
- # re-frame (19)
- # reagent (2)
- # ring-swagger (23)
- # yada (36)
i feel like I’m getting better at hoplon in the front end after practicing a bit
i guess what i’m trying to do, is have state that I can save and load somewhere
if you have something with a lot of nesting and highly dynamic data - I'd look at datascript
well, what i will have is a bunch of page elements that are essentially little forms/inputs
and need to have all their values aggregated into something that can be computed globally
if there’s a tool (like datascript) that naturally lends itself to the nested approach
is there a way to grab the whole datascript state and stick it somewhere on the backend?
Wildly inefficient and problematic but sometimes just what you need. Err: enduro is the project
i guess i’m worried about what happens with that approach if you have network issues or whatever
i currently have my localstorage storage-atom just tracking state in real time
ultimate goal is that you could log in as a user, see a list of saved states and load it up
My intermediate-term goal is to have a very simple database that runs both in the browser and the server.
--and I found some very nice code in javelin/core.cljs that does exactly what I need: deftype Ce;;
[ANN] Dewdrop (in aatree/aautil 0.0.4) now supports lens-view.
Functions which work with lens-view are the standard @, reset! and swap!.
The lens demo in hoplon/demos now employs lens-view.
See https://github.com/hoplon/demos/blob/master/lens/src/hl/index.cljs.hl#L10-L16
Thanks to @micha for pointing out the inadequacies of the previous release.