-
-
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
very slow? #1082
Comments
@chuchengcao Are your forms all inside the same component? export default class extends React.Component {
render() {
return (
<form id="form1">
<TextField ... />
<TextField ... />
...
</form>
<form id="form2">
<TextField ... />
<TextField ... />
...
</form>
...
);
}
} |
This is probably related to #1040 |
@jkruder Yes. Actually it is like this :
when I profiling it, i found that "DatePicker" cost about 70% cpu time. And when I use another DatePicker which is not from material-ui, render time reduce to 3s. |
Witch version of material-ui are you using ? |
@oliviertassinari , |
@oliviertassinari I confirmed that performance problem is solved in 0.10.0. :) |
Perfect 😃 |
Can you close the issue then? |
my page contains 30 forms, each form contains 10 TextFields and 5 FlatButtons, setState(cause render) will cost 10 seconds
The text was updated successfully, but these errors were encountered: