Though an ESA only allows you to contribute up to $2,000 a year per child it follows an after-tax structure, which allows your savings account to grow tax-free.
Within your selected 529, you can invest your money freely, and the gains you make from your selected investments are not taxed when used for educational purposes.