I decided to use a hidden Div, along with a State, so it is populated with some data only when I click a button.
So far so good, except I only want the data to be used once by another callback, but because the data is there now (in the hidden Div), the callback always has access to it.
How would I go about clearing the contents of the Hidden Div immediately upon its use by another callback? My immediate solution would be to create a second callback targeting it and returning
None, but you can’t have the same output targeted by 2 callbacks.
What do I do?