Context is a single page app with a rest backend.
For things like state and city lists, which rarely change, is it better to store them on server and load from client, or store them directly on client as javascript objects?
I am in favor of putting them on client to avoid writing boilerplate code (things like when state is selected city combo will be filled from server etc), but don't know if there's a downside.
bowvstiecategory of questions and the answer to that is: depending on the circumstances the one or the other is wrong. There are several possible solutions, including all on the client, none on the client, some of the client and some not. Without knowing how customers use your application it is hard to tell. – Thomas Junk Dec 13 '19 at 18:15