alvarotrigo / alvarotrigo/react-fullpage
prevent rerender on scroll..
Aperta
question
- Lingua principale
- JavaScript
- Stelle
- 1.3k
- Fork
- 172
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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..
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.