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

refactor(websocket): unify page-data emitting #25190

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Jun 22, 2020

Description

This changes our websocket manager to emit full body of page-data and not just query results + streamlines what we pass to emitPageData.

This change on its own it's not doing much, it's just preparation to pass page-data emitted by websocket to run through loader to make sure we load modules that could have been added as a result of query running

Related Issues

Tracking PR for data-driven code-splitting - #24903

@pieh pieh requested a review from a team as a code owner June 22, 2020 10:09
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 22, 2020
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

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

Much cleaner, nice.

@sidharthachatterjee sidharthachatterjee added bot: merge on green Gatsbot will merge these PRs automatically when all tests passes and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 22, 2020
@gatsbybot gatsbybot merged commit 38eed44 into master Jun 22, 2020
@delete-merged-branch delete-merged-branch bot deleted the query-modules/unify-page-data-handling branch June 22, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants