-
Notifications
You must be signed in to change notification settings - Fork 20
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
propTypes validation on data causes performance issue #4
Comments
Thanks for the report. I'm not willing to give up propTypes validation outright but if you have a suggested fix, I'd love to see a PR. In any case this issue impacts dev workflows only, since propTypes checks are generally not used in production. |
A good compromise here might be to use a custom validation function in place of (the outermost) |
I faced a similar performance hit when in developing environment. |
@pgruenbacher |
Because of the propTypes defined on data, when dealing with multiple graphs of +180 ticks, you start to get a serious lag and browser hanging because of prop types validation
The text was updated successfully, but these errors were encountered: