react-transform-hoc

1.0.0 • Public • Published

react-transform-noop

This is a react-transform that does nothing! Its just a starter kit showing how to write/test/publish a react-transform.

Features

  • Builds with babel 6 using the es2015 and react presets. (npm compile)
  • Tests with mocha (npm test)

Getting Started

Usage

There's no point in using this transform. It doesn't do anything! That being said, you can use it by updating your .babelrc file to look like the following. Your much fancier transform will also require something like this.

{
  "presets": [
    "react"
  ],
  "plugins": [
    ["react-transform", {
      "transforms": [{
        "transform": "react-transform-noop"
      }]
    }]
  ]
}

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i react-transform-hoc

    Weekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • pwmckenna