-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Material-UI broken with external React #4845
Comments
@nathanmarks Yes, this would fix the problem, I would love to see this merged into a release as soon as possible. |
@ericsage Can you just use the tap event plugin the same way until then? |
@nathanmarks @ericsage What did you do in this case? The references issue does not look like it will be merge soon 😞 |
@nathanmarks @ericsage @ricardopolo also having the same issue. did you find a fix for this? if you bump down the versions for those packages do you still see problems? |
So I've come back to this because our code base broke again because of the tap event plugin. The new release of React (15.4.0) has this to say about tap event using the React internal APIs
The plugin says it only supports up to 15.4.0, and will break because of the above reason when used with 15.4.0. This is a serious bug that needs to be fixed ASAP, and tap event plugin needs to be moved inside of material-ui so that we can stop suffering from this hack. |
I got this trace (related to the above comment) when I tried updating from react 15.3 to 15.4:
|
@ericsage @ocolot I believe your issue is related to an update with react breaking react-tap-event-plugin. see this issue. the PR was merged in so as long as you use "react-tap-event-plugin": "git+https://github.com/zilverline/react-tap-event-plugin.git#master" you should be good to go. Things are working for me and I'm using the following set up
|
@samrispaud thx! It's now working with the following versions:
|
@codingneat look at this.... is what we need!! 😄 Would you please schedule to check if this work? Thanks! |
@ocolot How to fix this? |
@radik909 Did you get it working? I just came across this wheninstalling the |
@gotdibbs Sorry for the late reply. Nope. I didn't get it working, so just dumped the versions. |
We have removed the |
Problem description
I'm working on a Biomedical project that uses material-ui for many components, some of which are shipped as separate npm modules. We have made React an external in webpack:
This breaks React-Tap-Event-Plugin which is looking for specific React subfiles, for example:
We've spent some time looking for a solution to this problem, and we desperately need a fix for this. This project is used by several cancer research laboratories who depend on our timely releases.
The text was updated successfully, but these errors were encountered: