babel-plugin-transform-jsx-hyperdom-binding
> Turns binding attributes into hyperdom bindings
Last updated 2 years ago by refractalize .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-transform-jsx-hyperdom-binding 
SYNC missed versions from official npm registry.

babel-plugin-transform-jsx-hyperdom-binding npm version npm Build Status

Turns binding attributes into hyperdom bindings

Example

In

<input type="text" binding="item[n].method().name" />

Out

hyperdom.jsx("input", { type: "text", binding: [item[n].method(), "name"] });

Installation

npm install --save-dev babel-plugin-transform-jsx-hyperdom-binding

# for babel 6
npm install --save-dev babel-plugin-transform-jsx-hyperdom-binding@1.5.0

Usage

.babelrc

{
  "plugins": [
    ["transform-react-jsx", {
      "pragma": "hyperdom.jsx"
    }],
    "babel-plugin-transform-jsx-hyperdom-binding"
  ]
}

We're Hiring!

Featurist provides full stack, feature driven development teams. Want to join us? Check out our career opportunities.

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

8 Versions

  • 2.0.0                                ...           2 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.1                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 2
Last Day 1
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |