Frontmatter
| id | 7062 |
| title | functional.component.Base: enhance the `destroy()` signature |
| state | Closed |
| labels | enhancementhelp wantedgood first issuehacktoberfest |
| assignees | ad1tyayadav |
| createdAt | Jul 15, 2025, 7:42 PM |
| updatedAt | Oct 27, 2025, 11:45 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7062 |
| author | tobiu |
| commentsCount | 3 |
| parentIssue | 6992 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 27, 2025, 11:45 AM |
functional.component.Base: enhance the destroy() signature
tobiu assigned to @tobiu on Jul 15, 2025, 7:42 PM
tobiu added parent issue #6992 on Jul 15, 2025, 7:42 PM

ad1tyayadav
Oct 26, 2025, 2:23 PM
assign me

tobiu
Oct 26, 2025, 2:27 PM
Thanks for your interest. For this one I recommend to look into: https://github.com/neomjs/neo/blob/dev/src/component/Base.mjs#L1144 https://github.com/neomjs/neo/blob/dev/src/container/Base.mjs#L476
I would also recommend the "AI Native" workflows and let agents figure out the details, e.g. what could get moved into: https://github.com/neomjs/neo/blob/dev/src/component/Abstract.mjs#L284
tobiu unassigned from @tobiu on Oct 26, 2025, 2:27 PM
tobiu assigned to @ad1tyayadav on Oct 26, 2025, 2:27 PM
ad1tyayadav cross-referenced by PR #7667 on Oct 26, 2025, 3:04 PM
tobiu closed this issue on Oct 27, 2025, 11:45 AM
compnent.Baseuses params to prevent children from triggering update() call when getting destroyed.