amp-toolbox | AMP tools making it easier to publish and host AMP pages | Runtime Evironment library
kandi X-RAY | amp-toolbox Summary
kandi X-RAY | amp-toolbox Summary
A collection of AMP tools making it easier to publish and host AMP pages. The following tools are part of this project:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of amp-toolbox
amp-toolbox Key Features
amp-toolbox Examples and Code Snippets
Community Discussions
Trending Discussions on amp-toolbox
QUESTION
I have read the AMP documentation but, still bit confused. Already have a React app running, it's possible to implement AMP in the same application? or do i need to create another app just for AMP?
Also tried using optimizer-express as middleware and had no success.
Does anyone have/had a similar situation?
...ANSWER
Answered 2020-Jan-25 at 16:54No, it not possible to implement AMP in a single application. A SPA must render page in client side with javascript but AMP page haven't custom javascript (unlimited js) and can't add SPA router like react-router
. AMP sites usually serve in the server or serve in a static server. So you can not implement a full SPA AMP app although you can implement some dynamic functionality in AMP with amp-bind component and amp-script component
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amp-toolbox
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page