react-transform-function

0.0.1 • Public • Published

react-transform-function

It transform stateless functions from react v0.14 into class components.

Why?

So they can be hot reloaded by react-transform-hmr BUT you can still use stateless functions on production with their better performance that may someday come.

Does it work?

Not really sure, just messing around for now. Do not install it yet!

License

MIT

Package Sidebar

Install

npm i react-transform-function

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • pepjo