Repository navigation
Fix for #204 - #401
Fix for #204#401
Conversation
React addons require React in a special way. That causes Webpack to push React into the app's bundle. This fix adds new externals entries to prevent that.
1 similar comment
|
Beautiful. Yet, pretty strange that react addons require react like that? What's the rationale? |
|
Not exactly sure. But that might be the case that, FB uses their own module resolver for React. |
|
@gaearon what's the rational behind the |
|
May be related. See: react/react#6343 |
It's just importing |
|
Thanks @gaearon |
|
@arunoda Are you sure that this fix is correct?
(c) react/react#6343 I am not a JS expert, so I am not exactly sure, but it feels like this patch will just break the addons. |
Fixes #204
React addons require React in a special way.
That causes Webpack to push React into the app's bundle.
This fix adds new externals entries to prevent that.