K
K
kamelot432021-04-23 14:49:52
React
kamelot43, 2021-04-23 14:49:52

How to render a react application on the server?

Guys, welcome) There is a SPA project (create react app), rendered on the client. There was a task to render application on the server (ssr). And immediately a lot of questions arose: how to configure webpack, set up routing, request data from a third-party API? I met a lot of articles on the network on the topic ssr, but basically the questions are considered superficially and it is not completely clear how everything works. Can you tell me somewhere to see examples of ssr code (tasks: express, routing, data loading) or good articles where ssr react is described? I would like to see code examples to understand the topic. 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