Frontmatter
| id | 9161 |
| title | [DevIndex] Fix Redundant Store Load via createAllItems hook |
| state | Closed |
| labels | bugaiperformance |
| assignees | tobiu |
| createdAt | Feb 15, 2026, 3:57 AM |
| updatedAt | Feb 15, 2026, 4:00 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9161 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 15, 2026, 4:00 AM |
[DevIndex] Fix Redundant Store Load via createAllItems hook
tobiu assigned to @tobiu on Feb 15, 2026, 3:59 AM

tobiu
Feb 15, 2026, 4:00 AM
Input from Gemini 3 Pro:
✦ Implemented the fix by introducing a
createAllItems(config)hook inNeo.collection.Base. This hook is overridden inNeo.data.Storeto explicitly setconfig.autoLoad = falsefor the backup collection. This prevents the redundant data fetch when filtering for the first time.
tobiu closed this issue on Feb 15, 2026, 4:00 AM
The
allItemsbackup collection created during filtering inherits theautoLoad: trueconfig from the main store, causing a redundant data fetch. This fix introduces a protectedcreateAllItems(config)hook inNeo.collection.Base, which is then overridden inNeo.data.Storeto explicitly setautoLoad: false. This ensures clean separation of concerns and prevents the performance regression.