Skip to content

Conversation

jacobsfletch
Copy link
Member

@jacobsfletch jacobsfletch commented Nov 29, 2023

Description

Significantly reduces the number total API requests made by Live Preview, originally discussed in #4281. Does so by batching requests together if they're of the same collection. This is a continuation of many other recent optimizations that have been made to Live Preview, including #4306. Another nice side-effect of this change is that arg drilling apiRoute, depth, and serverURL is no longer necessary. Partially closes #4169.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@payloadcms/live-preview has multiple issues

1 participant