Fork me on GitHub

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?


What do you mean by normalized form?


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 simple_smile