Skip to content

[DevIndex] Fix Redundant Store Load via createAllItems hook #9161

@tobiu

Description

@tobiu

The allItems backup collection created during filtering inherits the autoLoad: true config from the main store, causing a redundant data fetch.
This fix introduces a protected createAllItems(config) hook in Neo.collection.Base, which is then overridden in Neo.data.Store to explicitly set autoLoad: false.
This ensures clean separation of concerns and prevents the performance regression.

Metadata

Metadata

Assignees

Labels

aibugSomething isn't workingperformancePerformance improvements and optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions