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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user