Skip to content
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

checkbox performance issue #2737

Closed
zpz1982 opened this issue Dec 31, 2015 · 3 comments
Closed

checkbox performance issue #2737

zpz1982 opened this issue Dec 31, 2015 · 3 comments

Comments

@zpz1982
Copy link

zpz1982 commented Dec 31, 2015

I have a page which have more than 50 checkbox, the response is slow when click checkbox. It seems be fixed when I add shouldComponentUpdate().

  shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {
    return nextState.switched !== this.state.switched;
  },
@alitaheri
Copy link
Member

Thanks for reporting 👍 👍

@oliviertassinari
Copy link
Member

That issue is directly linked to #1176.

@nathanmarks
Copy link
Member

Duplicate of #2832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants