I have started versioning files on Stackblitz now to ensure i can save stable versions of the app and differentiate them from ongoing work in progress builds.
So this is what i'm doing now -
- Once I feel like I am happy with a set of changes I have made, I deploy it with Bolt
- Then open the project in Stackblitz and update the title
- I use the titling convention: ProjectName v1.x [STATUS]
- So since this is a project I was working on, it would be in the 'work in progress' state, hence titled - ProjectName v1.3 [WIP]
- I change the title to ProjectName v1.3 [STABLE]
- Then I fork the project and update the project version and status - ProjectName v1.4 [WIP]
- I open up this project in Bolt and continue the process
This enables me to stay calm about any mishaps that happen in the version I am working on because I can reopen previous versions in Bolt and start from that baseline.