Skip to content

Passing Reactive value to other files #32

Discussion options

You must be logged in to vote

Just wanted to post an update and say that the code works if I change

const template = html`${header}${router[navigationState.active]}`;

to

const template = html`${header}${() => router[navigationState.active]}`;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Chaphasilor
Comment options

@leighton-tidwell
Comment options

Answer selected by leighton-tidwell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants