3 ms·
> JAMStack is about pre-rendering HTML from dynamic content into static files. Where do the "Javascript and APIs" come into play, if not via AJAX?
by strbean 6y ago
> JAMStack is about pre-rendering HTML from dynamic content into static files.
Where do the "Javascript and APIs" come into play, if not via AJAX?
- pier25 6y agoJust to be clear, what do you mean with AJAX?
- strbean 6y agoMaking asynchronous requests to fetch data. In this context specifically, the common case of fetching data asynchronously and then rendering it to the DOM. My impression is that Jamstack is meant to include apps that render client side, but disclude apps that require a custom dynamic backend - serving static data and fetching it asynchronously is in, as is hitting third party APIs (the API part of JAM), but writing your own backend to serve data from a DB / etc. is out. Does that make sense?