Hi everyone,
Still trying to get better at structuring things in Bubble.
For simple UI-driven data, when do you usually use custom states instead of saving it to the database?
I understand the basic difference, but in real projects I’m not always sure where you draw the line.
Would love to hear how you usually decide this.
Thanks!
1 Like
States, like url parameters, are only temporary. If you need to save a value permanently, then you use the database.
Does that help?
1 Like
Usually I use states help in visualization of a group, popup and others. Sometimes when you need to hold temporary data to other groups and many more cases. But as @J805 pointed out, you should use database when you need to save something