Don't understand benefit of using getserversideprops instead of getInitialProps #14066
Replies: 3 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
The question is my question too. |
Beta Was this translation helpful? Give feedback.
-
i have this issue too |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am Upgrading from getInitialProps -> getServersideprops and saw the API request is made from node server and passes the data the .json API to the client (Client-side routing)
Don't it increases the overhead rather than making the API from the browser and getting response directly from the API now it has to call from node server and getting the response and passing to the client through .json API.
Can Someone please clarify my understanding regarding new update.
Beta Was this translation helpful? Give feedback.
All reactions