Docker
Docker is one of the most popular virtualization solutions. It can be thought of as a virtual machine that runs code isolated from the main operating system of the local machine.
Note
Before delving further, please go through this documentation: https://docs.docker.com/.
Most Docker images are Linux-based. However, there are Windows-based ones as well. Docker images have required dependencies installed based on the type of project they are needed for. For SPFx projects, there is also a Docker image available, which is maintained by the open source community. There are images for different SPFx versions, and they can be found at https://github.com/pnp/docker-spfx.
The instructions at that link clearly explain how to get started with SPFx development using Docker. After setting up Docker and following those instructions, you will not find any differences in the experience of developing locally, despite the fact that there are no dependencies on the host machine and...