-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add transforms for legacy IE https://github.com/Rezonans/redux-async-… #64
base: v1
Are you sure you want to change the base?
Conversation
@@ -1,3 +1,7 @@ | |||
{ | |||
"presets": ["es2015", "react", "stage-0"], | |||
"plugins": [ | |||
["transform-class-properties"], | |||
["transform-es2015-classes", {loose: true}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This resolved the issue for me, but "loose" should be wrapped in double quotes.
Looking forward to this being released ;) |
Me too, seems like development on v1 has stopped :( |
When will be release? |
Really need this fix for a production project. |
Just pull all the code into your project until it's released. On Friday, April 15, 2016, Dawid van der Hoven [email protected]
|
Pulled. It doesn't work :) |
This works for me:
Works in IE9+ and other real browsers. |
Can you confirm that you ran "npm run build" from the redux-async-connect folder itself? Running your project's build script will not honor the .babelrc file in the redux-async-connect folder. |
Sure :) |
I did npm run build in new folder redux-async-connect |
OK now I see what's going on:
|
Here my config
I tested with production. The same error. |
with ["transform-es2015-classes", {"loose": true}] the same. |
Do you think that something else is using react-proxy? |
Did you start with react-redux-universal-hot-example? |
Exactly. |
I wish I could help more, but I can confirm that the problem was resolved for me when I added those transforms and tested IE without HMR. |
@pmark thanks, for your help. Could you check the same with react-redux-universal-hot-example? |
I can share my repo |
I really need this PR for a project, too. 😢 |
:_( Is this pushed to the latest release ? I really need this for prod |
need this for prod too |
@snowcxt Hi. I switch to makeomatic/redux-connect now to make my code work for prod. Maybe it helps. |
Lib failed in IE10 and these babel plugins were needed.