I'm working with a wizard for the first time, and I'm afraid my app is going to get bloated as I go through the steps.
Will I save memory by specifically disabling components like tables that draw off of large data sources (~1,000 - 5,000 records) as I finish with them and go on to future steps?
If so, and it is useful to disable unnecessary components, do the steps of the wizard do that, or should I do my own component disabling between steps?
As a hybrid option, would it make sense to clear the data populating large components (like tables) so those components re-render empty?
Hey there I am going to link you our docs on Building performant Retool apps. You would definitely save memory by clearing the data returned by the queries, but that would be an issue if you ever need that data again. Besides what the linked doc I shared states, another recommendation would be for really complex apps you would want to break them up and use deep linking / navigation to move between the apps and transfer information.
Hey there Sorry it wasn't clear -- disabling does not remove the components, so the data in each component will still take up the same amount of memory. If you see it in the left panel then it is there, hope that clears things up!