Replies: 1 comment 34 replies
-
@PoojaC94 Can you provide some environment information for me?
I tried to repro the issue but everything seems to be working fine on my end. https://stackblitz.com/edit/typescript-warbli?file=index.ts A couple of things to watch out for:
const template = html`${when(x => x.isComponentOpen, html`<component-b></component-b>`)}
|
Beta Was this translation helpful? Give feedback.
34 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a FAST component which has multiple components in it
Component A
const template = html<item> ${when x=> x.isComponentOpen, <componentB></componentB> }
<componentC :onClick={(x)=>x.onClick}></componentC>
@observable isComponentOpen = false;
onClick() { this.isComponentOpen=true }
When componentC calls onClick, the isComponentOpen is set to true but componentB is not appearing. Why does this happen?
Beta Was this translation helpful? Give feedback.
All reactions