Answer the question
In order to leave comments, you need to log in
Routing via react-router-dom or backend?
Hello, perhaps a stupid question and I did not understand at all, but still I want to ask.
React has the react-router-dom library, which allows you to conveniently do routing through the application. But we can also do routing, I make a request to the server, which will return the markup to us. And what's better? Or should it be used in some way?
Answer the question
In order to leave comments, you need to log in
Depends on goals.
One of the features of SSR (Server Side Rendering) is that search robots (Google) receive all the content of the page and can parse it.
This is useful for search promotion informational sites.
If we are talking about some kind of service functionality (site admin panel), to which the robot does not have access anyway, then this advantage is lost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question