This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-18
Channels
- # admin-announcements (13)
- # announcements (1)
- # aws (17)
- # beginners (1)
- # boot (113)
- # cider (71)
- # cljs-dev (7)
- # clojure (93)
- # clojure-android (2)
- # clojure-berlin (1)
- # clojure-dev (22)
- # clojure-italy (3)
- # clojure-japan (1)
- # clojure-poland (41)
- # clojure-russia (96)
- # clojurescript (140)
- # cursive (11)
- # datomic (27)
- # devcards (1)
- # devops (1)
- # events (4)
- # funcool (3)
- # hoplon (133)
- # immutant (7)
- # ldnclj (22)
- # leiningen (5)
- # off-topic (6)
- # om (22)
- # onyx (12)
- # re-frame (8)
- # reagent (12)
I'm having a bit of trouble with how to store my data and what the subscriptions should look like. First off, I'm storing the data in normalized form in the re-frame db. Is that the way to go or am I making things more complicated than they need to be?
Referring to other things by id
I usually just shove all of my data inside the db, if I need to change how some data is represented I just change the affected handlers and subscribtions
@lancefalcon: it's reasonable, especially if that reflects your backend storage
Alright. Now let's say that I have a component which displays a user. This user has friends which are referred to by their IDs, and I want to display the names of those friends. How would I go about doing so?
oh, this actually seems to be answered in the re-frame FAQ. Sorry for being lazy and not reading before asking 😞
But thanks for the help anyway