Z-Js-Framework/z-js

Unability to recognize comments applied to interpolations inside tagged template literals

Opened this issue · 0 comments

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.