You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using amp-script to provide data for amp-list and render it with amp-mustache. But the story/data only gets populated when I hit the page reload. Earlier I was using a script which was linked with amp-script. I thought the issue might be related to the fetch api but now I am loading the data from local storage, still I have to hit the reload to make content visible on the screen. Need help regarding this.
Initial render is showing a loader:
After hitting the page reload story is rendered:
The text was updated successfully, but these errors were encountered:
This particular issue has been resolved. There was a script tag which was causing the issue. I removed that and now the page is loading fine.
<script async="" src="https://cdn.ampproject.org/v0.mjs" type="module" crossorigin="anonymous"></script>. This async="" was causing the issue probably.
I am using amp-script to provide data for amp-list and render it with amp-mustache. But the story/data only gets populated when I hit the page reload. Earlier I was using a script which was linked with amp-script. I thought the issue might be related to the fetch api but now I am loading the data from local storage, still I have to hit the reload to make content visible on the screen. Need help regarding this.
Initial render is showing a loader:
After hitting the page reload story is rendered:
The text was updated successfully, but these errors were encountered: