Why we should care
Prior to this update, AMP pages have been mostly static, which limited its uses and forced publishers to compromise features for speed and potentially visibility in mobile search results.
- The new
amp-scriptcomponent is compatible with React, Preact, Angular, Vue.js, jQuery and D3.js frameworks.
amp-scriptdoesn’t change page content without user interaction, so it won’t modify your content upon page load.
- The script within a single
amp-scriptmust be less than 150kB.
- Not all APIs are supported inside a Web Worker; refer to WorkerDOM’s list of allowed APIs.