The new amp-script component offers more feature flexibility and interactivity.
Please visit Search Engine Land for the full article.
Search Engine Land: News & Info About SEO, PPC, SEM, Search Engines & Search Marketing https://searchengineland.com/you-can-now-add-custom-javascript-to-amp-pages-320997