Socket
Socket
Sign inDemoInstall

babel-plugin-transform-jsx-hyperdom-binding

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-transform-jsx-hyperdom-binding

> Turns binding attributes into hyperdom bindings


Version published
Weekly downloads
146
increased by5.8%
Maintainers
1
Install size
290 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 20 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc