Skip to content

Uniformized lifecycle hooks#77

Merged
GuilhermeF03 merged 1 commit into
mainfrom
feature/uniformize-lifecycle-hooks
Apr 17, 2026
Merged

Uniformized lifecycle hooks#77
GuilhermeF03 merged 1 commit into
mainfrom
feature/uniformize-lifecycle-hooks

Conversation

@GuilhermeF03
Copy link
Copy Markdown
Member

Summary

This PR aims to uniformize lifecycle hooks across all domains(managers, app/screen, scene manager/nodes). With this, now every domain follows a predictable common lifecycle, with each domain branching as needed for specific hooks

Changes

  • App now follows a onEnter -> onUpdate -> onExit
  • Scene setup now is onEnter, dispose became onExit
  • Managers now also have an onUpdate and an onResize lifecycle hooks
  • Removed explicit manager calls from app, now it only calls Manager Registry hooks (enter, update, exit)

Related Issues

Closes #74
Closes #75

@GuilhermeF03 GuilhermeF03 added this to the 0.1.0 - Headless Version milestone Apr 16, 2026
@GuilhermeF03 GuilhermeF03 self-assigned this Apr 16, 2026
@GuilhermeF03 GuilhermeF03 linked an issue Apr 16, 2026 that may be closed by this pull request
@github-project-automation github-project-automation Bot moved this to Backlog in canopy-tasks Apr 16, 2026
@GuilhermeF03 GuilhermeF03 merged commit 111baac into main Apr 17, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in canopy-tasks Apr 17, 2026
@GuilhermeF03 GuilhermeF03 deleted the feature/uniformize-lifecycle-hooks branch April 17, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature: Add a complete lifecycle to managers Feature: Uniformize Lifecycle Hooks

1 participant