There are 3 ways to combine AMP with PWA (as described here):
In both first and third approach, we are fetching AMP content from the server using service worker, modify it if required and render. Can someone please explain the difference between these approaches? What exactly is the use of 'Shadow AMP' API?
“Shadow AMP” is a special version of AMP in your Progressive Web App. in the top level page in the AMP library, it will only “amplify” the page's the portions what you require, not control the top level content. The library will be used when the availability of the global AMP variable and Shadow AMP uses a “asynchronous function loading approach” to help with that.
To learn more, visit this website Tapita.io
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With