-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
For a URL /products/123, can we grab and use that 123 from the URL to fetch and display the corresponding data?
Potential advantages:
- reuse the template, handling user clicks on related products with a
setState. - a single static asset could be used across the different items. I'm hoping this would facilitate combining AMP with a serverless architecture.
- skip another page load when navigating to a different item.
- keep logic dynamic to reuse in the PWA, where I fear hard navigation would result in loss of application state (
AMP.setStatestuff).
(earlier posted on SO, here reworded as a feature request as afaik it seems to be missing.)
Akiq2016