Skip to content

Teleport can bind to the target lazily.#77

Merged
koculu merged 1 commit intomainfrom
lazy-r-teleport-binding
Mar 5, 2026
Merged

Teleport can bind to the target lazily.#77
koculu merged 1 commit intomainfrom
lazy-r-teleport-binding

Conversation

@koculu
Copy link
Owner

@koculu koculu commented Mar 5, 2026

Summary

Enable lazy one-shot teleport binding so r-teleport can still resolve when the target is rendered later in the same bind pass.

Changes

  • Updated teleport binding flow in Binder to defer unresolved teleports and flush once after binding completes.
  • Added/updated teleport fallthrough tests for nested component scenarios and target resolution timing.

Why

Fixes order-dependent cases where teleported content is bound before its target exists in DOM.

@koculu koculu merged commit 20fedac into main Mar 5, 2026
1 check passed
@koculu koculu deleted the lazy-r-teleport-binding branch March 5, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant