hyperx v2.5.2 Release Notes
Release Date: 2019-02-14 // about 5 years ago-
🛠 Fix template parts inside comments (#75)
Now you can do:
html` \<div\>\<!-- ${someElementThatIWantHidden()} --\>${someElementThatIWantShown()} \</div\>`
The
someElementThatIWantHidden()
call is still evaluated, but hyperx won't output it.