hyperx

🏷 - tagged template string virtual dom builder

BSD-2-CLAUSE License

Downloads
239.6K
Stars
1K
Committers
26

Bot releases are hidden (Show)

hyperx - v3.0.0 Latest Release

Published by mreinstein 12 months ago

This release contains some fixes for long-standing parsing issues:

  • support direct descendant css selectors when parsing inline tags. fixes #82
  • handle optional closing tags for self-closing tags. fixes #41
  • handle tags that include attributes. fixes #82

Since these changes all modify parsing behavior it's prudent to bump the major package version.

hyperx -

Published by goto-bus-stop over 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.

hyperx -

Published by goto-bus-stop over 5 years ago

undefined or null attributes are no longer added as strings. (@s9k in #57, @JRJurman in #70)

hyperx -

Published by goto-bus-stop almost 6 years ago

  • Remove unused 'has' function (@YerkoPalma in #31)
  • Add .createFragment option (@finnp in #66)
  • Add React usage instructions to prevent key warnings (@Siilwyn in #72)