It is better to use node as the frame machine for rendering at the front end, or to use js frame to implement it. What is the difference between the two

  node.js, question

It is better to use node as the frame machine for rendering at the front end, or to use js frame to implement it. What is the difference between the two

What is the difference between front-end rendering and back-end rendering?

  • Back-end rendering is directly returning rendered pages, such as a paging list, and directly returning html pages containing data through url parameters.

  • In front-end rendering, it is to return to a basic layout page that does not contain data, then request data separately, and render and display the data on the interface.

In other words, back-end rendering will give me the feeling of wasting resources, because most of the time it only changes the local data and does not need to retrieve the entire page.