Using a local environment might be the traditional approach for most devs, tho, depending on your needs, it might come with some downsides.
- Maybe you are working on different machines and tired of forgetting to pull and push, syncing data between the remote and local repos?
- Or the machine you work with simply do not have enough resources to do some highly CPU and RAM demanding stuff?
- Or you want to try different OS architecture without the need to affect the local machine you are working from?
Developing on a remote environment can solve all of these as the code is stored on a server and you can access it via your code editor / IDE.
This way, wherever you are, and how many machines are you using, you are always working with the same projects and you don't have to worry about syncing. Here's a quick tutorial on how to set up VS Code in the cloud.
Have you ever tried this approach and would you recommend it? Any cloud hosts with great price/value ratios for this?