Test new outlet#4
Conversation
| /** | ||
| * Appends `into` without clearing the target first. Mimics the `appendTo` behavior for classic components. | ||
| */ | ||
| appendIntoTarget?: boolean; |
There was a problem hiding this comment.
this will need a bunch more tests <3
in particular:
renderCompnoent(A, { appendTo: IntoTarget })
renderComponent(B, { appendTo: IntoTarget })
and do the reactivity of A and B stay in the same location and not re-order themselves?
(This was the issue I ran in to during implementation, in that whatever was updated last would become last in DOM-order)
(also, I think this behavior will need its own RFC, describing the stability of render-order (and update-order), and probably appendTo rather than a booling, imo -- boolean configurable options are a bit of an ick for me)
4adfd8d to
089323c
Compare
📊 Size reportTarball size — dist/dev -0.17%↓
dist/prod -0.15%↓
smoke-tests/v2-app-template/dist 0.2%↑
smoke-tests/v2-app-hello-world-template/dist 0.06%↑
🤖 This report was automatically generated by wyvox/pkg-size |
move outlet close to the route manager impl
Apply onto for classic components
this should also autoresolve once currying is removed
089323c to
6382317
Compare
| @@ -3,14 +3,14 @@ import type { Nullable } from '@ember/-internals/utility-types'; | |||
| import { assert } from '@ember/debug'; | |||
| import type EngineInstance from '@ember/engine/instance'; | |||
There was a problem hiding this comment.
move to the route-managers/classic/ directory - this is where its only consumers are
| @@ -1,5 +1,5 @@ | |||
| import { precompileTemplate } from '@ember/template-compilation'; | |||
| import { outletHelper } from '../syntax/outlet'; | |||
| let inExpected = key in (expected as object); | ||
| let inActual = key in (actual as object); | ||
|
|
||
| if (key !== 'outlet') { |
There was a problem hiding this comment.
we should probably remove this "ignore" of the outlet key 🤔 i don't know how we're going to be able to test it properly but at least it won't crash the browser while you're working on this
835960b to
523d52e
Compare
No description provided.