-
Notifications
You must be signed in to change notification settings - Fork 129
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
Transition from react-hot-loader to babel-plugin-react-transform #65
Comments
Dropping some more links here for when I get time to do this. As of now I think I'll just try and implement the new babel transforms without replacing https://github.com/gaearon/babel-plugin-react-transform |
One of the side effects of react-hot-loader being deprecated is that gaearon isn't supporting hot reloading some of the new react 14 features, such as stateless functional components: He's actively working on implementing the same feature in react-transform-hmr at gaearon/react-transform-hmr#6 |
Yup yup. Thanks Jason, I've been watching this as well and want to switch On Mon, Oct 12, 2015 at 11:50 AM Jason Rose notifications@github.com
|
One thing I was wondering about is if it is worth it to drop |
I don't know enough to have an opinion on implementation choices; I've just started using react 100% of the time recently and this tool has already helped, so I want to help with it too. |
That will add in the flexibility of being able to easily hook in other express middleware as well. Worth considering are how it affects the current experience of bootstrapping a project with |
@tvararu that can be worked around by creating "bin" files that become commands when installed. So we could just make one up so the user would just replace |
Is anyone working on this? Otherwise I should be able to do this either today or tomorrow |
That would be awesome @dignifiedquire! |
@lukekarrys I've started, you can track the progress here: https://github.com/Dignifiedquire/hjs-webpack/tree/65-react-transform, first example is working, but still needs cleanup, more testing and migration docs. I hope to get to it tomorrow. |
I don't think anyone is, I haven't had the time personally. Happy to have
|
While replacing Personally, even as someone who much prefers every other compile-to-JS language I've ever used over Babel, this project is focused on React and Babel simply has the best tooling for React development. I don't see that changing any time soon, so I'd prefer the increased focused over wasted development time trying to please everyone (including me). |
Closes by #117 |
Yay! 🎉 |
TL;DR: https://github.com/gaearon/react-transform-boilerplate.
Dan Abramov has mentioned that he's going to kill
react-hot-loader
, and that it's being replaced withbabel-plugin-react-transform
and its ilk.I've tried it out and not having to deal with "cannot read
_currentElement
of null" is a big deal™.The text was updated successfully, but these errors were encountered: