Skip to content

prevent rerender on scroll.. #407

Description

@jaeeewon

react-fullpage calls render function with event like onLeave, afterLoad events..
that leads too many rerenders..

so.. i've developed to render empty div if component's index isn't current index.

but not resolved since it calls twice per scroll (onLeave, afterLoad) and result in render hundreads of empty components twice..

is there any way to reduce rerender number of times?
i render about hundreads of elements with memoization..

sincerely..

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions