-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
It's just doesn't work. #1303
Labels
core
Infrastructure work going on behind the scenes
Comments
Create a file only for this. I just got it working import React from 'react';
import { RouteHandler, Link } from 'react-router';
import { Styles } from 'material-ui';
import injectTapEventPlugin from 'react-tap-event-plugin';
// Stylesheets.
import style from './style.scss';
const ThemeManager = new Styles.ThemeManager();
injectTapEventPlugin();
export default class App extends React.Component {
static childContextTypes = {
muiTheme : React.PropTypes.object
}
getChildContext () {
return {
muiTheme : ThemeManager.getCurrentTheme()
};
}
render () {
return <RouteHandler />;
}
} |
Sorry, my bad.. I think it was a problem with jspm. Basically when I use for some very strange reason in my config.js - file I have:
and after I changed it from 0.12.2 to 0.13.3 it works :( |
same thing here, just do this
|
mnajdova
pushed a commit
to mnajdova/material-ui
that referenced
this issue
Nov 10, 2020
* Implement forwardingRef, closes, mui#1303 * Try to fix test failures on CI * Fix ref forwarding test * Fix eslint error * Add yarn prettier script
oliviertassinari
added
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Dec 25, 2022
zannager
added
core
Infrastructure work going on behind the scenes
and removed
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
labels
Jan 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've tried to use your library, but it just doesn't work :(
I have this code:
https://gist.github.com/milworm/f3ee2eb372b5049e4ec7
which is super simple, but it produces this error (even tried to use different versions: 0.13.3, 0.14-beta):
https://gist.github.com/milworm/4f80189a4554f69fea85
I've just switched to old 0.12 and I now I am able to render components, but now when I click on button it raises this error:
Uncaught TypeError: React.findDOMNode is not a function
which is understandable because React.findDOMNode was introduced in 0.13.
So, the conclusion is:
material-ui doesn't work with reactjs (0.13 or 0.14).
Thanks.
The text was updated successfully, but these errors were encountered: