Quality matters. Not all screen content is equal.
Mine are 12 & 14 so tablets and smartphones weren't a major issue in the pre-school years anyway. We did have DVDs and used CBeebies (which was a godsend with an SPD pregnancy over a long, harsh winter).
It took some time for DS1's autism to be identified and diagnosed; the first thing he watched on youtube was videos of people playing with trainsets as I was trying to diversify his play and inspire him.
Tablets didn't enter the equation until they were in infant school and it was quite tightly managed for time and content.
They were 7/9 when Covid happened keeping them out of school, activities and preventing in-person socialising for 6+2 months, and that did significantly weaken my boundaries that could never quite shift back after so long and emerging at 8/10 into a world where peers often had smartphones and were far more online than they had been.
Now they spend much more time online than I would like, but a lot of that is social gaming with friends who aren't near enough for casual hanging out. They do have other interests including a few sports- more than their friends. Both are dyslexic so reading is not a relaxing hobby to them. DS1 uses his screen time to hyper-fixate on his warhammer hobby, and loves non-fiction documentary content. DS2 is not quite so worthy and is more into shouty gamers, but I've learned about what he's into from it. He's more likely to watch something like Gladators, The Apprentice and Race Across the World with me. He's currently working on re-writing a song and video editing to record his own version.
I feel like we've held a fairly realistic path in our circumstances and both DCs are doing well. Parents Evenings are loaded with praise for their general knowledge.
It is worth holding back when they're little, especially on un-moderated content, short form and un-managed algorithms. Gradually allowing for managed, beneficial content as they age is fine. I haven't gone down the absolutes path because DM could be like that, and it could be isolating when you are geninely being left out of mainstream culture. I particularly remember Australian soaps being banned purely out of xenophobia so was often left out of playground chat, and a lot of what was encouraged/ prohibited was very much about her preferences and inhibitions rather than my needs.
Ultimately we do end up in a world where technology is a vital tool, and in reality children are a part of that being part of their independence skills by transition to secondary school, and they do need guiding to that point appropriately.