Just do not. That or alternatively a hidden field is how asp.net WebForms did it state management 20 years ago. Worst possible idea ever.
Good for small scale unimportant external state management but not for your everyday web app.
Good for small scale unimportant external state management but not for your everyday web app.