Thank you all very much for your answers! :heart:

@dorilama @GH5T @jonah.deleseleuc

I had been trying so far with creating the element in instance.data.whatever_element and accessing it in the update to modify it, my main doubt was how good practice was to do this or if there are better ways.

also as @jonah.deleseleuc mentions I tried it by “flags”, at the end it is with the structure that we feel more comfortable with.

I will keep the post open to see what other kind of solutions other people in the community have, since I have tried to do it even with React, but it seems to me that it is too much code.

As I mentioned, I will keep the post open in order to see other possibilities.

And thank you very much to everyone, your answers are very helpful and mainly clarify me a little bit what common practices are used.