Use rendered() for SPA layout chain, add jqhtml lifecycle docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-12 07:19:23 +00:00
parent f625531b81
commit 2f96bb6276
85 changed files with 198 additions and 37 deletions

View File

@@ -848,8 +848,9 @@ class Spa {
// Create component
const component = $current_container.component(component_name, is_last ? args : {}).component();
// Wait for it to be ready
await component.ready();
// Wait for render to complete (not full ready - we don't need child data to load)
// This allows layout navigation to update immediately while action loads
await component.rendered();
if (is_last) {
// This is the action