Visual studio is too slow

I don’t use notebooks with Unreal actually, once I did and it overheated and the HD went poof, but I live in a tropical country, so… I will never use one again.

Notebooks are limited to upgrade on memory and store (memory only if you got spare slots), you want a machine that will last for you at least 5 years if not more, being you will add more memory, more storage, get a new graphics card, and this you can do only with desktop ones. If your issue is space you can go after a custom PC using ITX case form factor which are quite small. I know someone which instead of purchasing a monitor, purchased a drawing tablet with display, so he could use it for modeling and also as a monitor.

At my country that Dell model costs the same as a desktop computer with monitor, using 8/16 core AMD CPU, 32GB RAM, GTX 1060, SSD, 1TB storage, 500W PSU, keyboard, mouse and a nice 27in Full HD monitor, which is at least 50% better performance than that notebook.