LearnNewsExamplesServices
Frontmatter
id7110
titledocs: Update "Instance Lifecycle" guide for v10 async phase
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 24, 2025, 5:39 PM
updatedAtJul 28, 2025, 12:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/7110
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 28, 2025, 12:52 PM

docs: Update "Instance Lifecycle" guide for v10 async phase

Closed v10.2.0 enhancement
tobiu
tobiu commented on Jul 24, 2025, 5:39 PM

The "Instance Lifecycle" guide is missing a critical piece of the v10 architecture: the asynchronous initialization phase. It currently only covers the synchronous creation and destruction.

This ticket is to update the document to include the initAsync lifecycle hook.

Tasks

  • Add a new major section titled "The Asynchronous Initialization Flow" between the synchronous creation and destruction sections.
  • This section must detail the async initAsync() method and its purpose for handling asynchronous operations like data fetching and lazy-loading modules.
  • It must explain the role of the isReady_ config and how the afterSetIsReady() hook is used to reliably signal when a component is fully initialized and ready for interaction.
tobiu assigned to @tobiu on Jul 24, 2025, 5:39 PM
tobiu added the enhancement label on Jul 24, 2025, 5:39 PM
tobiu referenced in commit 91ebff2 - "docs: Update "Instance Lifecycle" guide for v10 async phase #7110" on Jul 28, 2025, 12:51 PM
tobiu closed this issue on Jul 28, 2025, 12:52 PM