Problem
The documentation provides detailed guides for Neo.collection.Base and Neo.data.Model (Records), which are the building blocks of the data layer. However, there is no dedicated guide for Neo.data.Store, which is the class that developers will most commonly use to bring these concepts together and connect them to data-aware UI components like Grids and ComboBoxes. This leaves a gap in the learning path from understanding the core data classes to using them in practice.
Solution
Create a new guide in the learn/guides/datahandling section that focuses specifically on Neo.data.Store. This guide will act as a bridge, showing how to use Collections and Records together via the Store to manage and display data.
Content Outline
The guide should cover the following topics:
Introduction to data.Store:
- Explain that
data.Store extends collection.Base and is specialized for managing Record instances.
- Briefly recap its role as the central piece of the data layer for UI components.
Creating a Store:
- Show how to define a class that extends
Neo.data.Store.
- Explain the key
static config properties:
model: How to associate a Neo.data.Model.
keyProperty: Its importance for record lookups.
data: Providing inline, local data.
Loading Remote Data:
- Explain how to use the
url_ config to fetch data from a remote server.
- Show an example of the expected JSON response format.
- Explain the
autoLoad_ config.
Connecting Stores to Components:
- Provide a practical example of creating a
Neo.grid.Container and assigning a Store instance to its store config.
- Show how the grid automatically displays the data.
The sourceId Pattern for Shared Data:
- Explain the problem: filtering a shared store for one component (like a ComboBox) affects another (like a Grid).
- Demonstrate the solution:
- Create a main, unfiltered "master" store.
- Create a second store for a
ComboBox, configured with sourceId pointing to the master store.
- Show how filtering the ComboBox's store does not affect the master store or the Grid.
Interacting with a Store:
- Briefly cover common methods like
add(), remove(), get(), and how they work with Record instances.
- Mention the
recordChange event and its importance for granular UI updates.
Acceptance Criteria
- A new markdown file is created at
learn/guides/datahandling/UsingStores.md.
- The guide follows the proposed content outline.
- The guide includes clear, practical code examples.
- The new guide is added to the
learn/tree.json file.
Intake-derived Contract Ledger · @neo-gpt-sophie · 2026-11-06
The original four acceptance criteria above remain unchanged. The scope reconciliation and native proof sharpen the 2025 prescription against current source.
| Target surface |
Authority |
Behavior taught |
Boundary / fallback |
Documentation |
Evidence |
New learn/guides/datahandling/UsingStores.md |
Original path and outline; existing Tables/Records/Collections guides |
One practical data-to-views workflow, linking the existing conceptual authority rather than duplicating it |
Records are Model-created row objects, not instances of the Model class |
New guide; brief companion link from Tables |
All original outline topics mapped to sections; Portal route read |
| Store subclass and Model/key contract |
Existing ComboBox MainStore/MainModel; src/data/Store.mjs and src/data/Model.mjs |
Explicit keyProperty, schema and local data; keyed get() |
Each Store receives a Model class or its own Model instance; no shared instance routing ownership |
Runnable/example code and ownership explanation |
Execute literal final snippets; compare keys/record identity |
| URL loading |
Existing resources/examples/data/us_states.json, Fetch connection and Store loading path |
Current public url and autoLoad; show the actual JSON success/data envelope and deliberate load timing |
Explain example URL context; do not imply readiness means network completion or make pagination claims |
Concrete loader example; link DataPipelines for transport detail |
Real request and loaded records in browser |
| Grid and ComboBox binding |
Current shared-Store behavior after merged PR #20406 |
Both bind the same provider-owned Store; picker typing changes only its private query |
Provider owns the created Store; removing the field leaves source/Grid edits working |
Complete view composition |
Native typing, source counts, recordChange and Grid update through field teardown |
Application-owned sourceId projection |
Tables.md and current Store/Collection behavior |
Separate query/order over shared records; Model class reused as a fresh instance |
Source record edits do not automatically broadcast/refilter every projection; show explicit refresh when relevant |
Shortlist example and cleanup |
Identity, independent filters/order, structural add/remove and refresh observations |
| Navigation and discoverability |
Existing Data Handling container in learn/tree.json |
Register the requested companion page and rank its source SEO entry |
Leave generated sitemap/llms outputs to the data-sync pipeline |
Tree entry and PRIORITIES input |
Tree/link checks; rendered Portal navigation and Mermaid diagram |
Revalidation trigger: the literal combined example fails notification continuity, ownership or projection semantics on current dev. Revisit the owning primitive before documenting a workaround. Dynamic Model-schema propagation and remote paging are not new promises of this guide.
Problem
The documentation provides detailed guides for
Neo.collection.BaseandNeo.data.Model(Records), which are the building blocks of the data layer. However, there is no dedicated guide forNeo.data.Store, which is the class that developers will most commonly use to bring these concepts together and connect them to data-aware UI components like Grids and ComboBoxes. This leaves a gap in the learning path from understanding the core data classes to using them in practice.Solution
Create a new guide in the
learn/guides/datahandlingsection that focuses specifically onNeo.data.Store. This guide will act as a bridge, showing how to use Collections and Records together via the Store to manage and display data.Content Outline
The guide should cover the following topics:
Introduction to
data.Store:data.Storeextendscollection.Baseand is specialized for managingRecordinstances.Creating a Store:
Neo.data.Store.static configproperties:model: How to associate aNeo.data.Model.keyProperty: Its importance for record lookups.data: Providing inline, local data.Loading Remote Data:
url_config to fetch data from a remote server.autoLoad_config.Connecting Stores to Components:
Neo.grid.Containerand assigning aStoreinstance to itsstoreconfig.The
sourceIdPattern for Shared Data:ComboBox, configured withsourceIdpointing to the master store.Interacting with a Store:
add(),remove(),get(), and how they work withRecordinstances.recordChangeevent and its importance for granular UI updates.Acceptance Criteria
learn/guides/datahandling/UsingStores.md.learn/tree.jsonfile.Intake-derived Contract Ledger · @neo-gpt-sophie · 2026-11-06
The original four acceptance criteria above remain unchanged. The scope reconciliation and native proof sharpen the 2025 prescription against current source.
learn/guides/datahandling/UsingStores.mdsrc/data/Store.mjsandsrc/data/Model.mjskeyProperty, schema and local data; keyedget()resources/examples/data/us_states.json, Fetch connection and Store loading pathurlandautoLoad; show the actual JSON success/data envelope and deliberate load timingsourceIdprojectionTables.mdand current Store/Collection behaviorlearn/tree.jsonRevalidation trigger: the literal combined example fails notification continuity, ownership or projection semantics on current dev. Revisit the owning primitive before documenting a workaround. Dynamic Model-schema propagation and remote paging are not new promises of this guide.