Skip to content

[CLEANUP] Assert when {{outlet}} is used in invalid contexts#21422

Open
olenderhub wants to merge 1 commit into
emberjs:mainfrom
olenderhub:issue-18547-outlet-assertions
Open

[CLEANUP] Assert when {{outlet}} is used in invalid contexts#21422
olenderhub wants to merge 1 commit into
emberjs:mainfrom
olenderhub:issue-18547-outlet-assertions

Conversation

@olenderhub
Copy link
Copy Markdown
Contributor

Add runtime assertion that throws when {{outlet}} is used in component templates (no outletState in scope) or non-routable engine templates (engine without router).

Fixes #18547

Add runtime assertion that throws when {{outlet}} is used in component
templates (no outletState in scope) or non-routable engine templates
(engine without router).

Fixes emberjs#18547
@olenderhub olenderhub changed the title feat(routing): assert when {{outlet}} is used in invalid contexts [routing] Assert when {{outlet}} is used in invalid contexts May 21, 2026
@olenderhub olenderhub changed the title [routing] Assert when {{outlet}} is used in invalid contexts [CLEANUP] Assert when {{outlet}} is used in invalid contexts May 21, 2026
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.

Invalid uses of {{outlet}} should throw

1 participant