Skip to content

2.0.3

Latest

Choose a tag to compare

@aduth aduth released this 22 Jun 20:12
· 9 commits to master since this release

Bug Fixes

  • Fix an issue where a boolean child (true or false) is rendered as text.

Optimization

  • Condense and simplify logic (original savings -20b, overall -10b with bug fix):
    • Component test (-10b)
    • Children test (-2b)
    • Fragment appending (-0b createElement, -5b Fragment)
    • Assign props value in initialization (-1b)
    • Simpler boolean comparison (-3b)
    • Use simple loop in append (-4b)