F
F
Fdrsmrdv2021-02-24 11:39:11
React
Fdrsmrdv, 2021-02-24 11:39:11

What is the best react lazy loading approach in SSR?

Hello!
There is an application on react, it is rendered on the server, it is collected by webpack.

Task :
After the application is completely rendered on the client, it is necessary to lazily load the component.
The component is located on the main page of the site, that is, SSR should ignore it during rendering.
Once the application is fully rendered, you need to request a chunk and start rendering the component.

What is the best way to accomplish this task?

Thanks in advance :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question