LearnNewsExamplesServices
Frontmatter
id7147
titleRefactor `render` to `initVnode` and `createTemplateVdom` to `render`
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 31, 2025, 9:20 PM
updatedAtJul 31, 2025, 9:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/7147
authortobiu
commentsCount0
parentIssue7130
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 31, 2025, 9:20 PM

Refactor render to initVnode and createTemplateVdom to render

Closed v10.3.0 enhancement
tobiu
tobiu commented on 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 to initVnode() to more accurately reflect its purpose of creating the initial VNode and mounting the component. This freed up the render name, allowing createTemplateVdom() to be renamed to render(), providing a more intuitive and familiar API for functional components using HTML templates. This change also included renaming the rendered property to vnodeInitialized, the autoRender config to autoInitVnode, and the rendering flag to isVnodeInitializing to maintain semantic consistency throughout the framework.

tobiu assigned to @tobiu on Jul 31, 2025, 9:20 PM
tobiu added the enhancement label on Jul 31, 2025, 9:20 PM
tobiu added parent issue #7130 on Jul 31, 2025, 9:20 PM
tobiu referenced in commit 1dced6c - "Refactor render to initVnode and createTemplateVdom to render on Jul 31, 2025, 9:20 PM
tobiu closed this issue on Jul 31, 2025, 9:20 PM