What is SSR?


SSR is server-side rendering,It doesn’t matter if SSR is given to the browser!

If there is a data = [], we will traverse the array and splice strings through JS. When running the client, these codes will be executed on the client to complete these functions, and then translate the string through the browser engine. SSR will directly complete this link on the server.

Recommended Today

Explanation of websocket heartbeat reconnection

Recently, websocket has been used in the development of applet. The applet provides corresponding native API, which is different from H5 API. Therefore, some mature class libraries of popular H5 are difficult to use, and the native API has some defects, so it implements a set of heartbeat reconnection mechanism by itself. First, let’s briefly […]