I have developed an advanced form system on Bubble, and I cannot change the approach at this point. When I load a page, I create duplicates of a specific list of objects and load them into the custom state. However, this is also creating new entries in the database of this list, which I intend to be temporary objects until a button is clicked. This results in 50x the database objects than intended…
Any way to load objects into custom state for manipulation without making entry in DB?
The short answer is no you can’t (it’s a big limitation of Bubble).
The closest you can get is to generate a JSON response in a backend workflow, and use the API connector to send and retrieve data to it… then you can use that API datatype as your custom state type. (it will consume WU of course, so might not be worth it, depending on your use case - and may not be any better than just using the database).
Alternatively, if you want to keep things entirely client-side, you can just work with texts (with various attributes, simulating objects) and manipulate those as you need to.