Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

- Fix a fatal `Call to undefined method ...::mount()` error for screens that
define no `mount()`: the web boot lifecycle now calls the guarded core
entrypoint `mountComponent()` instead of invoking `mount()` directly
(parity with `NativeRouter`).
- Fix browser input and action events on NativePHP versions that expose
`dispatchUiEvent()`, retaining the legacy dispatcher for older versions.

Expand Down
2 changes: 1 addition & 1 deletion src/Protocol/WebScreenRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ protected static function boot(string $componentClass, array $params, ?string $l
// still needed to render the placeholder, but mount() — the slow
// work being deferred — is skipped until the {type:'lazy'} update.
if ($mount) {
$component->mount();
$component->mountComponent();
}

return $component;
Expand Down