babel-plugin-transform-functional-jsx

7.0.0 • Public • Published

babel-plugin-transform-functional-jsx

Pure functional & spread children support

Example

In

<div>
  <a href="other.html">Link</a>
  <ul>
    {...[<li>Item A</li>, <li>Item B</li>]}
    <li>Item Last</li>
  </ul>
</div>

Out

div(
  null,
  a({ href: "other.html" }, "Link"),
  ul(
    null,
    ...[li(null, "Item A"), li(null, "Item B")],
    li(null, "Item Last")
  )
);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.00latest

Version History

VersionDownloads (Last 7 Days)Published
7.0.00
6.0.10
6.0.00

Package Sidebar

Install

npm i babel-plugin-transform-functional-jsx

Weekly Downloads

0

Version

7.0.0

License

MIT

Unpacked Size

34.7 MB

Total Files

7630

Last publish

Collaborators

  • rhyzx