title: React JS Freezes Browser
body: <p>I have a React component which has 2000 elements and based on some filter conditions I update my state, which internally causes re-rendering. Everything seems to be working fine. But when I togglefilter from 2000 elements to say 1000 elements and back&amp;forth, the rendering takes a lot of time and sometimes the browser freezes. I did chrome timeline profiling, the major time consuming piece is rendering. Any help would be appreciated.</p>
  <p><a href="https://i.stack.imgur.com/bz126.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bz126.png" alt="enter image description here" /></a></p>