1Two choices:
2
3> use camelCase everywhere, but keep using snake_case only for
4server-generated attributes
5
6> always manually convert to camelCase after you get the data
7back from the network, and use camelCase everywhere.
8If you have to pick a global convention on both sides,
9JavaScript should win - ie, camelCase.