Hydrogen vs. Battery Electric Cars

So, I'm a layman, but it seems to me that with the invention of solid-state batteries  it would be possible to combine the two technologies (battery and fuel cells) to create vehicles with ridiculous range. Since solid-state batteries can store so much more power and can charge far more rapidly and repeatedly without the risks current lithium-ion batteries have, it's possible to charge them in cycles with fuel cells without the worry of overheating or degrading the batteries.