andreypopp / reactify

[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
MIT License
690 stars 62 forks source link

upgrade path for visitors option? #41

Closed jaredly closed 9 years ago

jaredly commented 9 years ago

Running browserify with reactify, I get the error

option "visitors" is deprecated and will be removed in future releases

What's the upgrade path for this? What option should I be using?

andreypopp commented 9 years ago

If you use visitors option now you need a separate browserify transform which will do such transformation.

andreypopp commented 9 years ago

Alternatively there's https://github.com/andreypopp/jstransformify which you can configure in a needed way along with JSX visitors.