Skip to content
Discussion options

You must be logged in to vote

getServerSideProps and getStaticProps are meant for kilobytes of data, not megabytes. Everything you return from this function is downloaded by your user on initial page visit.

Our development mode has a strict object shape verification process that takes some time to process the 12MB, so I'd say this is behaving as expected. It's not a bug, and is pointing out you should simplify your return structure.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@zackdotcomputer
Comment options

@brianlovin
Comment options

@zackdotcomputer
Comment options

@zackdotcomputer
Comment options

@yacklab
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by yacklab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants