Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

react-hot-loader incompatible with react 15.4.1 #30

Closed
erikhuisman opened this issue Nov 26, 2016 · 1 comment
Closed

react-hot-loader incompatible with react 15.4.1 #30

erikhuisman opened this issue Nov 26, 2016 · 1 comment

Comments

@erikhuisman
Copy link

In watch mode react pack throws Module not found: Error: Cannot resolve module 'react/lib/ReactMount' to fix this you can add an alias to webpack config like so:

    resolve: {
        alias: { 'react/lib/ReactMount': 'react-dom/lib/ReactMount' }
    }
@olahol olahol closed this as completed in 463f692 Dec 6, 2016
@olahol
Copy link
Owner

olahol commented Dec 6, 2016

Thanks, changes in version 0.9.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants