r/JAMstack • u/agility-cms • Jun 16 '21
r/JAMstack • u/Ramirond • Jun 02 '21
Myth-busting: Jamstack can't handle dynamic content
r/JAMstack • u/powershell19 • May 12 '21
Develop production-scale modern web apps quickly with Azure Static Web Apps
r/JAMstack • u/EnthusiasmNeat • May 11 '21
Personalization w/ JAMstack (edge slice rerendering)
r/JAMstack • u/remotesynth • Apr 15 '21
JAMstacked Issue 28: Static-first not static only
r/JAMstack • u/OlgaCMS • Mar 30 '21
Coming soon! Fullstack Jamstack 2021: Architecting Fullstack Solutions in a Jamstack World
r/JAMstack • u/superdanb • Mar 11 '21
Learn how to add reviews to your #jamstack sites using u/Stackbit and u/Typeform
r/JAMstack • u/sebastienlorber • Mar 09 '21
Releasing Docusaurus v2 i18n: translate your Jamstack docs websites easily!
r/JAMstack • u/remotesynth • Feb 18 '21
JAMstacked Issue 24: Front of the front end and back of the front end?
r/JAMstack • u/MarcnLula • Jan 28 '21
Advice for a site I'm building
Good evening everyone, I'm working on building a site for a storage building business. I'm somewhat new to the JAMstack, an I was wondering what you all would recommend. I use the Hugo SSG and usually host on netlify. This site requires the client to be able to post new inventory for sale on the site. Which CMS would you all recommend for something like that? And also is there an ecommerce system you would recommend so the client could process payments on the site?
r/JAMstack • u/ruskibenya • Jan 03 '21
Server-Side Analytics with Jamstack Sites
r/JAMstack • u/agility-cms • Dec 16 '20
Congrats to Vercel on raising 40M
📢This is huge! Not only Vercel got clients like AirBnB in 2020 but also raised 40M in Series B!
💥Congrats for pushing JAMstack mainstream! ! If you never tried Next.js and Vercel - it is about time! We partnered with Vercel to develop "One Button Deploy" and it was such a pleasure to work with their team! You can try it here for free: Blog Starter with Next.JS and Agility CMS agilitycms.com/starters/blog-with-nextjs
r/JAMstack • u/remotesynth • Nov 27 '20
Jamstacked Issue 19 - Choosing a Static Site Generator
r/JAMstack • u/KayaFromWordify • Nov 25 '20
JAMstack-related Weekly Newsletter
Hi JAMstack lovers.
I wanted to let you know that we recently launched DXPReport.com, a weekly newsletter focusing on the Digital Experience Platform industry. JAMstack obviously plays a growing role in this space, so we often cover JAMstack news, events, and opinion pieces.
You can see edition #1 here (we're sending out edition #4 on Monday 30th November): https://preview.mailerlite.com/m9k8r2
We'd love you to join us. Feedback and suggestions are also very welcome!
r/JAMstack • u/agility-cms • Nov 23 '20
The Complete Beginner Guide to JAMstack: eBook
r/JAMstack • u/atapas • Nov 15 '20
How to debug Netlify serverless lambda functions using VS Code for your JAMstack app
r/JAMstack • u/hb_to_ms • Oct 16 '20
Client & SSR Authentication with Next.js in Less than 7 Minutes from Scratch
r/JAMstack • u/[deleted] • Sep 25 '20
How ButcherBox Made E-Commerce 600% Faster with Jamstack
r/JAMstack • u/remotesynth • Sep 23 '20
Jamstack 101: Using Gatsby with Netlify - Free Virtual Meetup - Oct 1, 12pm ET (GMT -4)
r/JAMstack • u/atapas • Sep 06 '20
How to use JAMstack with the server side and enterprise app
r/JAMstack • u/stefanjudis • Aug 02 '20
Different versions of your site can be running at the same time
r/JAMstack • u/todysh • Jul 24 '20
Jamstack comments
My site is a Jamstack site. It is built using GatsbyJS powered by ReactJS. In this post I gonna show how you can add a free comments to your site with the following pretty simple steps.
Use Reddit as a service that stores comments.
Implement React component that shows reddit Comments.
Integrate component to the blog post template
React Component
We gonna use NextJS useSWR hook to fetch comments from reddit re-post. Here a code snippet of this component.
import React from 'react';
import useSWR from 'swr';
import moment from 'moment'; // to render relative time of the comment
import ContentLoader from 'react-content-loader'; // to render nice loader
export default function RedditComments({ reddit }) {
if (!reddit) {
return null;
}
const { data, error } = useSWR(reddit, fetcher);
if (error) {
// TODO render error
return null;
}
const comments = data ? (
data.map((item, i) => <Comment key={i} data={item.data} level={0} />)
) : (
<Loader />
);
return (
<div className="reddit">
<a className="heading" href={reddit} target="_blank">
Comments
</a>
{comments}
</div>
);
}The full source code is available here.
Component Integration
I've added a reddit metadata to each post having a reddit re-post. After that I've extended a blog post template to render comment block.
// ...
import Reddit from '../components/Reddit';
const BlogPostTemplate = ({ pageContext }) => {
let {
// ...
// new metadata
reddit,
} = pageContext;
// ... computing more state like translations
return (
<Layout>
{/* main content is omitted */}
<footer>
<Reddit reddit={reddit}/>
{/* other footer blocks */}
</footer>
</Layout>
);
};And voila it amazingly works.
Enjoy! EOF :smile: