My kids are on electronic devices more than I'm comfortable with, but I work with tech and am potentially more of a techno-nerd than a number of the SWEs I work with, and so I potentially set a bad example. But I also engage with my kids about it, and have done so since they were able to understand words, plus they also have real-world friends and hobbies that balance it out, that we've made sure to encourage and model as they've grown up. It takes time, and any unconsidered 'banning' can well be as bad as unconsidered permissiveness.
I think "considered attention and understanding of the context" is closer to the scalpel type answer in regards to shaping a child into a functioning adult, no matter the topic.