We’ve had this discussion for other versions of SharePoint so I am interested to see if it’s changed now a coupe of years have passed. Do you develop with SharePoint on a desktop / laptops or are you using a VM in the Azure? If you are using a physical machine what spec are you running?
My team develop HR application. We use AngularJs in SPA model. It works in Office 365and SharePoint 2013/2016.
We develop it using Visual Studio – on desktop/latops physical machines. 8GB RAM, core I5.