Lisa
SSolara
•Created by Lisa on 4/9/2024 in #questions-issues
Switching Tabs resets a state when lazy loading is set to True
Thank you for the answer! 🙂
5 replies
SSolara
•Created by Lisa on 4/9/2024 in #questions-issues
Switching Tabs resets a state when lazy loading is set to True
Does that mean if I have, for example, around 10 or more reactive variables across all the components in each Tab and there are 5 or more tabs, then that makes at least 50 reactive variables we have to define and pass to each tab? That would make the code complicated to work with. Is there any other way to handle this? Would it make sense to have some mechanism to keep the state within the component even when using lazy loading?
5 replies