trueadm / t7

Lightweight virtual DOM templating library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inferno supported?

rickmed opened this issue · comments

const template = Inferno.createTemplate(() => ({
  tag: 'div',
  attrs: { className: 'test'},
  children: [
    'This', ' is ', 'a test!'
  ]
}));

t7.setOutput(t7.Outputs.Inferno);
var example = t7`<div class="foo">Hello!</div>`;

InfernoDOM.render(template(), document.getElementById("app"));   // this works
InfernoDOM.render(example, document.getElementById("app"));  // this does not work

Hi @rickmed.

Sorry, currently Inferno is not supported. This will change going forward in the future and is on the Inferno roadmap.