Frontmatter
| id | 7870 |
| title | Docs: Clarify distinction between Non-Reactive Configs and Class Fields in Neo.core.Base |
| state | Closed |
| labels | documentationai |
| assignees | tobiu |
| createdAt | Nov 23, 2025, 11:30 AM |
| updatedAt | Nov 23, 2025, 11:31 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7870 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 23, 2025, 11:31 AM |
Docs: Clarify distinction between Non-Reactive Configs and Class Fields in Neo.core.Base
tobiu assigned to @tobiu on Nov 23, 2025, 11:30 AM

tobiu
Nov 23, 2025, 11:31 AM
Input from Gemini:
✦ JSDoc updated in
src/core/Base.mjsto provide clear guidance on using Non-Reactive Configs vs. Class Fields, highlighting the role ofNeo.overwritesand inheritance propagation.
tobiu closed this issue on Nov 23, 2025, 11:31 AM
Objective: Clarify the distinction between Non-Reactive Configs and Class Fields in the
Neo.core.Basedocumentation.Changes: Update the JSDoc for
Neo.core.Base.configto explicitly explain that:Neo.overwritesmechanism. This allows external code (themes, app-level overrides) to change the default value for a class, which then propagates to all subclasses and instances globally.Reasoning: This distinction is critical for developers (and AI agents) to choose the correct property definition style based on whether global configurability/inheritance is required.