Does a page reload reset all existing states?

Does a page reload reset all existing states?

Yes, but you could find a way around it. kind of complicated, you could store some info in the database and have the elements reappear based on the data. You could also have the user change the info that redisplays the elements.

Hi @muradamod and thanks for your response. What are the mechanics of assigning a state to a variable that can be saved? How would I actually do it?

This is a rough example, but you could be creative with it and use it to redisplay elements.