Okay, I probably didn't understand JAMstack, even though I say to folks that I use JAMstack. I am not a professional web developer, but this is the reason why I thought I was using JAMstack:<p>The reason I like JAMstack is because:
- It is free.
- It adds modularity to a static site.
- If you want to provide an API service and your website just makes the API data look pretty.<p>It is free.<p>Netlify is free to sign up without a credit card. What else would you like me to mention? Everything else costs $5 a month or more. I am cheap. Cloudflare is free, Firebase is free, etc.<p>Modularity in a static site generator.<p>You know what is really cool and just works? Good static site generators. But sometimes, I would like to add some technical features to it, for SEO or fun. I would like to add components that focus on server-side computation a bit. However, it is not easy to do when you start with a static site.<p>So, what I will do is simply write an API and connect it to the site with a simple API call. I can handle all the complicated tasks in the backend and send some data to my website, where it will be displayed in a table.<p>If you want to provide an API service and have your website display the API data in a visually appealing way, this may not apply to most people. However, in my line of work, I used to focus on building APIs exclusively. People were not interested about the how site looked. They sometimes required authentication, a table, and some visualization and sorting features.<p>To simplify the process, I would handle most of the tasks on the backend, with the website mainly fetching data from the API. It would consist of templating syntax and occasionally handle state management, as it was not practical to filter the data on the backend.<p>---<p>So, that is how I used JAMstack. Can I do better? Eh, not really. I am not a web developer. I build APIs that sometimes need some visual representation. With Netlify Auth, Netlify Function supporting Go, Cloudflare Pages, etc., I don't see myself throwing in the towel on JAMstack, even though I might be missing the entire point here.<p>Embracing the two-year cycles that web developers have about everything being bad and everything being shit is not for me. And yes, this is a cycle, and this is a fit. You will see after two years, some dude with 120K followers on Twitter will announce "we have re-embraced everything that is wrong with PHP because of 4chan memes, and here is this web5 stack that will fix everything."<p>In web development, the only people I respect are those who have been using a 5-20 dollar/month VPS for more than a decade. They are not on Twitter, don't check HN except for weekends and they don't even do webstack-evangelism.