I am in need to implement a static SPA with JAMstack architecture. I know we can user ReactJS/VueJS for JAM based implementation. But I want to know is it possible to use Angular for JAMstack approach?
https://dev.to/leomeloxp/what-is-jam-stack-2957
Using it might not be a good choice if: You don't have enough technical expertise – Jamstack is not a code-free tool for building websites and it still requires coding skills and using APIs. Therefore, you either need to have JavaScript and/or React skills or someone who have these skills.
Jamstack is a term that describes a modern web development architecture based on JavaScript, APIs, and Markup (JAM). Jamstack isn't a specific technology or framework but a different architecture for building apps and websites.
Jamstack Gatsbyjs is an open-source front-end framework based on React. It was built with headless CMSs in mind, and it now represents one of the most popular and used Jamstack site generators. Gatsby's strengths are scalability, content management, security, and performance.
Jamstack is robust web development architecture created to build secure, faster, and scalable web applications.
As JAMstack stands for JavaScript, API, and Markup, the only part which is a bit less straightforward to do Angular as a JAMstack is the markup.
It is possible to pre-render Angular on the server with Angular Universal: this would be the Markup part of the JAMstack. To make it a JAMstack application you would have to use build time pre-rendering instead of server-side rendering.
Angular is JavaScript obviously, so that is pretty straightforward.
And your Angular app probably already is talking to APIs, so that is easy too.
The main thing would be to build your Angular app in such a way that it works as a standalone website and serving it as static files via a CDN. Any content that needs to be dynamically updated you call via an API.
So yes, in my opinion it is possible to use Angular for JAMstack.
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