You don't need to throw away an old laptop. By installing ChromeOS Flex on it, you can turn it into a Chromebook, instead.
Miracast is a wireless display standard that allows you to project your device's screen (like a Windows 11 or 10 laptop, ...