-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Upgrade Babel to ^6.0.0 #150
Comments
|
Awesome, thanks. I was naive in thinking that once babel-loader was caught up that would be most of it. |
Is there any update for it? |
@starandtina I've had a difficult time figuring out where react-transform/hot-reload and redbox-react are, so hopefully within the next week or so this will finally be @ babel 6. The process has just gotten harder since babel disabled github issues. |
there is an open PR on react-transform from this fork using babel 6—tested with fork of react-transform-boilerplate reference implementation... hot module reloading, error catching etc are all working. we're just waiting for the author to review and merge. also, to support eslint we'll need to wait for babel ast conversion to esprima, which is also in the works |
Thanks @justingreenberg, I just stumbled upon gaearon/babel-plugin-react-transform#50 before seeing your edit so it looks like you're far ahead of me. |
@justingreenberg looks like gaearon/babel-plugin-react-transform#50 just got merged and a pre-release is on the way later today. |
@davezuko Awesome! I already have a working branch of starter kit with my local fork of react-transform. Just have to fetch, merge, and review recent commits. I'm meetings until around 4pm EST, will submit PR today whether pre-release get pushed or not :) |
Thanks! You're the best haha; I feel like every issue thread I'm in I see you with a PR or something. Anyways, looking forward to it; the test setup will probably have to change a bit now that |
I really got sucked in. Babel and Webpack were always kinda just magic to me. Dan's move to london and resulting delay in react-transform ended up being a blessing in disguise—it forced me to sit down read the babel source like a book and totally demystified the ecosystem. Now I'm hooked lol :) |
Not to sidetrack this too much, but is that what helped you the most (reading the source)? Babel is still mostly a black box to me despite some of the talks I've watched... so I'm going to be going through https://github.com/thejameskyle/babel-plugin-handbook today and then maybe dig into the source later. |
babel-plugin-handbook is by far the most comprehensive resource—I strongly recommend starting there. @thejameskyle really does an awesome job introducing and breaking down the internals:
Babel's API surface is surprisingly small. Since bascially everything is a plugin in v6, there are a ton of examples in babel-packages—everything from syntax suport ( you can grok most of the packages pretty easily in a few minutes (they are tiny, many are < 50 LOC) |
Also FYI, hidden away in the |
Thanks a bunch, I'll devote some time to reading through all these when I can. |
Closing this for now since it's been merged; additional issues are welcome for any bugs that may arise. Thanks for all your work @justingreenberg! |
Would be great to get this done as soon as possible; keeping an eye on babel/babel-loader#123.
The text was updated successfully, but these errors were encountered: