Skip to content

Releases: developit/vhtml

2.2.0

04 Dec 00:56
Compare
Choose a tag to compare

2.1.0

04 Dec 00:52
Compare
Choose a tag to compare

(originally published December 2016)

  • Fix softof components use children without args (#4, thanks @NekR)
  • Support empty (void) tags (#3, thanks @NekR)
  • Fix bug when adding empty components (#2, thanks @keyserfaty)

2.0.0

04 Nov 00:54
Compare
Choose a tag to compare
  • Add support for Pure Functional Components!
const Box = ({ title, children }) => (
  <div class="box">
    <h4>{title}</h4>
    {children}
  </div>
);

console.log(
  <div>
    <Box title="foo">
      Hello, I am <strong>foo</strong>.
    </Box>
    <Box title="bar">
      Hi! I am <strong>bar</strong>!
    </Box>
  </div>
);

This logs:

<div>
  <div class="box">
    <h4>foo</h4>
    Hello, I am <strong>foo</strong>.
  </div>
  <div class="box">
    <h4>bar</h4>
    Hi! I am <strong>bar</strong>!
  </div>
</div>

1.1.0

28 Oct 00:51
Compare
Choose a tag to compare
  • Add support for infinitely nested Arrays of children, while improving performance and decreasing library size 🎈 (thanks @NekR for the request!)

1.0.0

13 Mar 03:04
Compare
Choose a tag to compare
  • πŸš€ 🎸 πŸ’―