How to store a lazyloaded page so when i come back it should diplay where iam in instead of again lazyloading

Viewed 8

1)I have Home Route page. that contains nothing but only navbar.navbar contains 2 routes named data1 and data2.

2)I have 2 Routes named data1 and data2,which contains huge data. so i did lazyload to those.

3)When i go to data1, it loaded and displayed data for me. that's ok. but when i go to data2 and come to back to data1 by using browser back navigation,it was again started loading!.

My question is to how to prevent this loading when i come back again to data1 from data2 ?

0 Answers
Related