Nanoporous IrO2 catalyst with enhanced activity and durability for water oxidation owing to its micro/mesoporous structure.