Become a member
Sign in
Tips to optimise rendering of a set of elements in React
596
7
Anton Lavrenov
Mikhail Saunterer
Mikhail Saunterer
Sep 5, 2018 · 1 min read

shouldComponentUpdate just freeses the app when number of components about 10 000 and mapStateToProps has 3–4 props

So, is there any right way to show on canvas only elements which could be seen at the screen? How redraw its on pan/scroll events?

    Mikhail Saunterer

    Written by

    Mikhail Saunterer

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal