You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Comp> : gets the store / a value from it + has a <slot/>
<Cont> : contains <Comp> with two slots populated
For simplicity, let's call the <Comp> inside <Cont>: Child-Comp
If bind:this is set on any of Child-Comp's slots: the Child-Comp will always get context / store value first, before anything else / it's higher parent components.
no error
REPL console log (order ok):
"wrapper--child-0 got store value""wrapper--child-0--slot-0 got store value""wrapper--child-0--slot-0--child-0 got store value""wrapper--child-0--slot-0--child-0--slot-0--child-0 got store value""wrapper--child-0--slot-0--child-0--slot-0--child-1 got store value""wrapper--child-0--slot-0--child-0--slot-1--child-0 got store value""wrapper--child-0--slot-0--child-0--slot-1--child-1 got store value""wrapper--child-0--slot-1 got store value"
REPL console log (order bad):
"wrapper--child-0--slot-0--child-0 got store value""wrapper--child-0 got store value""wrapper--child-0--slot-0 got store value""wrapper--child-0--slot-0--child-0--slot-0--child-0 got store value""wrapper--child-0--slot-0--child-0--slot-0--child-1 got store value""wrapper--child-0--slot-0--child-0--slot-1--child-0 got store value""wrapper--child-0--slot-0--child-0--slot-1--child-1 got store value""wrapper--child-0--slot-1 got store value"
Describe the bug
Given this structure:
where:
<Wrapper>
: shares a store via context<Comp>
: gets the store / a value from it + has a<slot/>
<Cont>
: contains<Comp>
with two slots populatedFor simplicity, let's call the
<Comp>
inside<Cont>
: Child-CompIf
bind:this
is set on any of Child-Comp's slots: the Child-Comp will always get context / store value first, before anything else / it's higher parent components.Reproduction
REPL getContext order (ok)
REPL getContext order (bad)
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: