Also, according to the American Academy of Ophthalmology:
The discomfort some people have after looking at screens is most likely digital eye strain. Most of us blink less when looking at screens, causing eye strain and dry eyes, says Rahul Khurana, MD, a spokesperson for the American Academy of Ophthalmology. The good news is eye strain does not cause lasting damage and is easily preventable.
The best way to protect your eyes against eye strain is to take regular breaks using the "20-20-20" rule: every 20 minutes, shift your eyes to look at an object at least 20 feet away for at least 20 seconds. You can also use artificial tears to refresh your eyes when they feel dry.
Skip the glasses that claim to protect your eyes against blue light, because of a lack of evidence that they are effective. The Academy does not recommend any special blue light-blocking eyewear for computer use.
....
When you stare at a screen for hours at a time, whether it is a computer, TV, phone or tablet, you are exposed to blue light from the device. Alarmist headlines claim blue light from too much screen time is blinding us. But there is no scientific evidence that blue light from digital devices causes damage to your eye.