I think you answer is here:https://docs.mendix.com/studio/publishing-app
“Previewing your app does not change the published app. Also, the preview environment has a separate database from the published app, that means you can create your own test data without polluting the data in the published application.”
I hope this helps.