| ▲ | turtlebits 3 days ago | |||||||
In the simplest web server, the server returns HTML. Having the backend return JSON is where you're adding complexity. Your front end code won't even work without some base HTML. | ||||||||
| ▲ | aembleton 3 days ago | parent [-] | |||||||
Having the html stored both on a static html site that can be cached and in the code base of a backend server is more complex to me than keeping these concerns separate. | ||||||||
| ||||||||