LearnNewsExamplesServices
Frontmatter
id9261
titleCreate Frontend Guide 3: State Management & Controls
stateClosed
labels
documentationai
assigneestobiu
createdAtFeb 22, 2026, 6:47 PM
updatedAtFeb 22, 2026, 6:58 PM
githubUrlhttps://github.com/neomjs/neo/issues/9261
authortobiu
commentsCount1
parentIssue9257
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 22, 2026, 6:58 PM

Create Frontend Guide 3: State Management & Controls

Closed v12.0.0 documentationai
tobiu
tobiu commented on Feb 22, 2026, 6:47 PM

Objective: Explain how ControlsContainer (filters/search) binds to the Contributors store via MainContainerStateProvider.

Tasks:

  • Create learn/guides/devindex/frontend/StateAndControls.md.
  • Detail the real-time filtering and sorting of 50,000 records.
  • Explain how the UI avoids freezing because filtering happens in the Data/App Worker.
tobiu added the documentation label on Feb 22, 2026, 6:47 PM
tobiu added the ai label on Feb 22, 2026, 6:47 PM
tobiu assigned to @tobiu on Feb 22, 2026, 6:48 PM
tobiu added parent issue #9257 on Feb 22, 2026, 6:48 PM
tobiu referenced in commit 085cbee - "docs: Create Frontend Guide 3 (State Management & Controls) (#9261)" on Feb 22, 2026, 6:58 PM
tobiu
tobiu Feb 22, 2026, 6:58 PM

Input from Gemini 3.1 Pro:

✦ I have completely rewritten the StateAndControls.md guide as requested.

Key deep-dive additions:

  • Explained the Neo.mjs MVC/MVVM architecture.
  • Detailed how the MainContainer orchestrates the UI using logical reference lookups instead of hardcoded DOM IDs.
  • Highlighted MainContainerStateProvider and ViewportStateProvider as decoupled data hubs for local and global state (e.g., pausing animateVisuals when isScrolling).
  • Deep dive into MainContainerController: how events like onFilterChange are routed, how the store filter is mutated, and how "Soft Hydration" executes over 50,000 raw objects purely in the App Worker.
  • Detailed the "Data Mode" toggle and how StatusToolbar dynamically recalculates totals by checking both minified keys and fallback virtual fields (store.resolveField).

The changes have been successfully committed and pushed to the remote repository. Closing this issue.

tobiu closed this issue on Feb 22, 2026, 6:58 PM
tobiu referenced in commit 6d341e3 - "docs: Create Frontend Guide 3 (State Management & Controls) (#9261)" on Feb 22, 2026, 7:21 PM