React-Rails — Snake or Camel ?

When working on React projects it’s standard convention to use camelCase and in Rails use snake_case. So, when using Rails as a backend for a React frontend project — do you use snake_case or camelCase?

Image courtesy of https://rodic.fr/

I have experimented with all sorts of ways of handling this frontend-backend communication. One option is to ignore the convention in the backend and create our model…