Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unability to recognize comments applied to interpolations inside tagged template literals #7

Open
Tibz-Dankan opened this issue Nov 7, 2024 · 0 comments

Comments

@Tibz-Dankan
Copy link

Tibz-Dankan commented Nov 7, 2024

export const someComponent = () => {
  const UI = html`<div>
      <!-- <div>${count}</div> -->
      </div>`;
  return UI;
}

The above code will give an error Uncaught ReferenceError: count is not defined even though it is cleared commented out and this crashes the entire app.

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

No branches or pull requests

1 participant