If you have a laptop with an Intel 7th-gen Core or newer (or AMD Ryzen 3000+), buy a $20 Microsoft Wireless Display Adapter and you’ll get a surprisingly usable second screen. If you have older hardware, stick to HDMI. Windows 11 made Miracast better, but physics—and cheap Wi-Fi drivers—remain the enemy.
However, if you're looking for a more advanced screen mirroring solution with more customization options, you may want to consider alternative options. miracast windows 11