Fork me on GitHub
#qlkit
<
2019-06-06
>
galvs07:06:41

Hi! Any tips on how the server state data should be organised? I can see in the article it says normalised on the client. If I had people and departments. Is it best for me to create the server state as: { departments : {0 {db/id 0 department/name Accounting}} people : {0 {db/id 0 person/name jame person/department Accounting}}} Or do it on the fly in the parser? To create a distinct drop down of departments. For example.

haywood20:06:09

you probably want to associate the department by id in the people map