title: Can I use HyperX with Snabbdom
body: <p><code>HyperX</code> is a module that translates a tagged template literal to a <code>hyperscript</code> function like the one included with <code>virtual-dom</code>. </p>
  
  <p><code>Snabbdom</code> uses a hyperscript-like function to build it's vdoms, but it's second argument is different. Instead of attributes it's properties are used by various "modules";</p>
  
  <pre><code>h('div', {
    props: {title: someString}, // snabbdom/modules/props
    classes: {selected: isSelected}, // snabbdom/modules/class
    on: {click: doSomething}, // snabbdom/modules/eventlisteners
    style: {color: someColor} // snabbdom/modules/style
  }, ['children']);
  </code></pre>
  
  <p>Is it possible to use <code>hyperx</code> with <code>snabbdom</code>'s hyperscript function like so:</p>
  
  <pre><code>const h = require('snabbdom/h');
  const hyperx = require('hyperx');
  const hx = hyperx(h);
  
  let vdom = hx`
    &lt;div 
      title=${someString} 
      class-selected={isSelected} 
      on-click={doSomething} 
      style={({color: someColor})}
    &gt;
     children
    &lt;/div&gt;
  `;
  </code></pre>