Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

v2.0.1

Choose a tag to compare

@jridgewell jridgewell released this 26 Apr 03:13
· 309 commits to master since this release
  • New Feature
    • Throw an compile-time error when there is an unused JSX Element.
      • Before, these would be silently removed from the output.
  • Bug Fix
    • Properly detect the whether the current JSX Element is the "root"
      element of the render function.
      • Before, any JSX Element that appeared laster in the same file
        would be "root". Now, only elements that appear later in the
        current function or it's contianing functions are roots.
  • Internal
    • Test that compile-errors are thrown.