Replies: 2 comments 3 replies
-
As said in the blogpost you can use Most use-cases will be covered by |
Beta Was this translation helpful? Give feedback.
-
I've created a similar post with performance results of both implementations. The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From the documentation I understand that
getServerSideProps
causes more requests to the next server:I would need to measure, but it sounds like this could make scaling up the next servers necessary on high-traffic websites, going along with higher costs.
I understand that it provides different benefits, like smaller response payloads, and not having to have isomorphic code in that function. In the end it‘s a tradeoff.
Since
getInitialProps
is now discouraged, will users of the framework be able to decide which end of the tradeoff they want to use in the future?Beta Was this translation helpful? Give feedback.
All reactions