Frontmatter
| id | 7147 |
| title | Refactor `render` to `initVnode` and `createTemplateVdom` to `render` |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 31, 2025, 9:20 PM |
| updatedAt | Jul 31, 2025, 9:20 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7147 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7130 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 31, 2025, 9:20 PM |
Description: To improve the developer experience for those familiar with React, a major refactoring was undertaken. The framework's core
render()method was renamed toinitVnode()to more accurately reflect its purpose of creating the initial VNode and mounting the component. This freed up therendername, allowingcreateTemplateVdom()to be renamed torender(), providing a more intuitive and familiar API for functional components using HTML templates. This change also included renaming therenderedproperty tovnodeInitialized, theautoRenderconfig toautoInitVnode, and therenderingflag toisVnodeInitializingto maintain semantic consistency throughout the framework.