I have a route that renders a big tree of components that is quite an expensive operation.
I already use infinite scrolling to limit the amount of data that is rendered. The problem is that every time the user navigates away and returns to this route the component tree is rebuilt.
What options do I have available to limit this expensive operation?
I realise that it is important in a single page application to destroy everything that you create but this constant DOM building is a killer.
Any suggestions at all appreciated.
Aucun commentaire:
Enregistrer un commentaire