Skip to content

Optimize create action in page builder #2167

@AKarmanov

Description

@AKarmanov

Context / Problem to solve / Design

Create.jsx component will do 6 query calls each time it is mounted, create action component that it wraps alone will do 3 calls. This is not scaling at all on larger pages (350+ create components). Requests get queued by the browser and page builder performance stagnates.

Story

As a developer
I want to get all the data necessary for create components at once to prevent sending multiple requests.

Tech Notes

Note that avoiding loading create actions until certain conditions are met (i. e. visibility) sounds like a reasonable strategy, however, since the page can be scrolled very fast we may still end up with request overload.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions