-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable transform warning #144
Comments
Hi! Good suggestion, I'd gladly accept the PR. 😄 However, could we use some other option name because "transform" is a bit ambiguous (Browserify transform vs Babel transform). How about e.g. |
I hear you. --no-babel works! |
Included in |
Without the babel transform, your components are not being proxied and hence state is lost. Are you manually proxying them somehow? Or are you simply ok with getting simple non-React-specific HMR? |
I've been keeping state with React-Redux and reacting to the module.onReload event. |
Hello again! :)
I'm using livereactload to bundle the output of compiled Typescript. Since the Typescript compiler has watch mode and JSX transformation, I find the babel React transform unnecessary. Similarly, someone may wish to manually transform the JSX before sending their Javascript to Browserify. For cases like this, I propose a new option:
--no-transform
Will skip the check for Babel React transform & display no warning.
API: opts.transform - When set to false, is equivalent to the above switch.
I can make the simple changes.
The text was updated successfully, but these errors were encountered: