Until the Wh/kg ratio of batteries improves significantly, it will be a huge problem to have electric planes. Look at the energy contents of 1 litre of Jet-A or avgas compared to the same weight in batteries. Hydrogen + fuel cell systems to achieve the same energy density require very costly extremely high pressure tanks and fueling systems, and that is before you get into the argument of whether hydrogen is a terrible use of energy.
If your hydrogen supply is coming from an electrolysis process an IMMENSE amount of kWh has been consumed to fill your hydrogen tank, which should be considered for the total environmental cost. So unless your electrolysis plant is hooked up to a massive PV array or a 4GW nuclear power plant, the economics are questionable.
for comparison:
lithium ion batteries 0.36–0.875 MJ/kg
Jet-A: 42.80 MJ/kg