Skip to content

docs(errors/large-page-data): how to see data being passed to page#40491

Merged
kodiakhq[bot] merged 4 commits intovercel:canaryfrom
ryparker:patch-1
Sep 13, 2022
Merged

docs(errors/large-page-data): how to see data being passed to page#40491
kodiakhq[bot] merged 4 commits intovercel:canaryfrom
ryparker:patch-1

Conversation

@ryparker
Copy link
Copy Markdown
Contributor

@ryparker ryparker commented Sep 12, 2022

Summary

This PR adds a note about how to see the data that this error is complaining about:

Warning: data for page "/" is xxx which exceeds the threshold of 128 kB, this amount of data can reduce performance.

This debug trick was something I came across in a discussion and I thought it would be helpful to others like it was for me.

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The examples guidelines are followed from our contributing doc

Copy link
Copy Markdown
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kodiakhq kodiakhq Bot merged commit 0a093c0 into vercel:canary Sep 13, 2022
@ryparker ryparker deleted the patch-1 branch September 13, 2022 01:05
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants