-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Use react-hot-loader/webpack #338
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
Conversation
@nkzawa fwiw this dependency does make it harder for other types of renderers. See: #20 (comment) |
@matthewmueller This is the correct setup of |
I think most likely the approach we'll take is that |
And add the |
@rauchg ahh yah, that sounds good. excited to see support for it – if you're not using other people's react UI modules, i'd say it's the best one out there. @developit has a https://github.com/developit/preact-boilerplate with webpack config that should help. I've been messing around with combining next's and this one in some spare time. Ideally it wouldn't even need the compat stuff, preact should be used standalone unless you're inheriting an existing react project. |
Yup, should be able to work with this. Either we'll make preact+RHL play nicely or have |
What exactly is |
It was a proposed plugin that would inject the appropriate preact configs into next. Not necessary anymore though, instead there is a recipe here |
It seems this is required to detect unexported components according to the description of gaearon/react-hot-boilerplate#61.