Fork me on GitHub

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.


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