Dumb Luck
In our world electronics started with vacuum tubes. Mott described the field effect in the 1930s but nobody made a transistor. Babbage and Ada Lovelace invented the fundamentals of computing in the Victorian era but had only mechanical devices.
Try an alternative time line. Shift the industrial revolution (or just railways) forwards a few decades. Let Faraday arrive twenty years earlier and invent the electromechanical relay. This is seized on by a brilliant railway engineer for signalling with relay logic and electromechanical actuators in place of iron rods. Babbage realizes a working digital computer using relay logic instead of breaking his heart on purely mechanical devices and is hailed as a genius.
Now the second bit of luck. Somebody playing around with crystals and electricity discovers the point contact diode and then thinks to see if one point could influence another one nearby. It can, and faster than he knows how to measure. And this discovery becomes known to a wealthy manufacturer of electromechanical computing devices who sees the potential and throws lots of money into R&D, Edison-style.
Soon the need to break codes drives the development of epitaxial transistors and integrated circuits, but this is WW1 not WW2. The scientists still don't properly understand how transistors work, but it doesn't stop them being refined. It's irrelevant, but let's be optimistic: the war ends faster with less death because of the code breakers.
So here we are in the 1920s with digital computers equal to our 1970s. And there won't be a German hyperinflation and Hitler will become known to a few as an artist of somewhat limited talent.
Medicine and biology haven't had any similar luck. If you want to slow things down further, Darwin and Wallace are regarded as cranks, Lamark as a genius, and Mendel got promoted before he ever did those experiments on peas.