The formation of yolk–shell structured NiO nanospheres with enhanced lithium storage capacity