Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

fiber reconciler add support for application lifecycle events #547

@shial4

Description

@shial4

Describe the bug

Missing triggers for below app lifecycle calls, breaks many modifier or views which depends on this functionality, internally inside TokamakCore as externally inside TokamakDOM and so on.

To Reproduce

Use fiber

static let _configuration: _AppConfiguration = .init(
    reconciler: .fiber(useDynamicLayout: true)
  )

Observe, a lot of functionality isn't working due to missing calls for

._onMount {
    print("🟡 _onMount")
}
._onUpdate {
    print("🟡 _onUpdate")
}
.onAppear {
    print("🟡 onAppear")
}
.onDisappear {
    print("🟡 onDisappear")
}

Expected behaviour

Calls work as expected.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions