Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from Sep 13, 2022

Conversation

ryparker
Copy link
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
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.

None yet

2 participants