You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
getInitialProps
returnsnotifications
which are fetched from an API:The logs output on the server are here:
createdAt
andupdatedAt
haveobject
as type (likelyDate
but that's not important).When we look at
notifications
property onrender
, though, it's a different story:The log output on the browser are:
Why are the browser logs for
createdAt
andupdatedAt
string
type instead ofobject
like we see on server?Using Nextjs 9.0.5.
Beta Was this translation helpful? Give feedback.
All reactions