_Hyperscript

The wild way of _hyperscript. This looks interesting.

Installation

The same technique that worked for Alpine.js, works here. While I rummaged through each package to see which part of the distribution to reference above, I’m guessing there’s a way that the node modules tell you where and how to load them. To be found!

The Counter

The code, as described here, works as advertised.

0

<div class="counter">
  <output>0</output>
  <button _="on click increment the textContent of the previous <output/>">
    Count With _Hyperscript
  </button>
</div>