-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
0.12.4 doesn't work in strict mode #1918
Comments
This was fixed by #1917. |
Also having this issue. 0.12.4 isn't usable for me. |
agreed. On it |
Same at /var/development/granliga/redux-gl/node_modules/material-ui/lib/time-picker/clock-hours.js:64 |
@oliviertassinari can you take a look at everything else to make sure that it works in strict mode? I'm finding ways to do the same. Also, timepicker seems broken on the docs site. Something with the |
@louy not sure what you mean. You wanted to add |
The issue is that "muiTheme" isn't define. #1921 breaks RTL. @shaurya947 nope sorry. Got confused a bit. I was supposed to copy contextTypes instead of propTypes. |
I'll send a PR. |
@louy Ok thanks, I have removed |
Ok guys I have no idea how this bug works but I have been able to solve it somehow. I think it's related to The issue is that |
I think they were trying to pack it with something else and add |
@shaurya947 #1933 We should be ok with this PR regarding strict mode. Well at least, duplicated properties. |
@shaurya947 I was using server side rendering with react-router. Edit: Also using babel with stage 0. |
@shaurya947 i was using webpack with stage 0 babel |
still having this problem in meteor as well. |
@shaurya947 Is working on it. |
New versions were released to adresse this issue. |
i updated to 0.13.0 but it is still throwing the same errors in meteor:
just to confirm, i cat'd the package.json file that was imported into my project:
thoughts? |
the 0.13.0 release is working for me without build problems |
0.13.0 fixed the build errors in webpack for me as well. |
@rkstar can you try to identify which particular source file / module (if any) is the culprit? |
Should we reopen this issue? |
i'm using it with meteor react packages following this process for adding npm packages meteor is using react 0.13.3 and i noticed material-ui 0.12.3 works fine w/my app, but 0.12.4 throws the |
@rkstar Can you try 0.12.5? |
i started a clean project and attempted 0.13.0 again and this time there were no errors. my react version is still using meteor's 0.13.3 react, but material-ui did not throw the it seems this may have been a case of the way the thanks for your attention to this @oliviertassinari and @shaurya947 |
Bumps [@types/prismjs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prismjs) from 1.16.0 to 1.16.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prismjs) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
material-ui/lib/table/table-body.js:42
propTypes: {
^^^^^^^^^
SyntaxError: Duplicate data property in object literal not allowed in strict mode
#1917 this merge request was merged right after 0.12.4 was released. Can we get a 0.12.5? Otherwise can't use 0.12.4.
The text was updated successfully, but these errors were encountered: