Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

Potluck - Next vs Gatsby × Headless CMS × Vue.js × Is Ruby on Rails still good? × More!

It’s another potluck! In this episode, Scott and Wes answer your questions about Gastby vs everything, Next, Vue, Rails, working with agencies, CSS, and more! LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: A Syntax potluck episode covering practical web dev advice: subscriptions via Stripe/Braintree webhooks, opinions on UI/new tab minimalism, styling choices in React, lit-html as a lightweight template system, when to move beyond Create React App, Gatsby vs Next.js for app-like sites, the value of Gridsome, preprocessors, Meteor vs Next.js migration, headless CMS benefits, framework choices like Svelte/Happy, and agency/freelance best practices. The hosts emphasize using the right tool for the job and favor maintainable systems over hype.

Main Topics: Subscription systems and payment webhooks: How to build monthly paid access with a database plus Stripe/Braintree or a service like Recurly, using webhooks to update account access when billing succeeds or fails. Framework choice: Next.js vs Gatsby vs Gridsome: A detailed comparison of server-side rendering and static site generation, especially for sites with user accounts, dynamic data, and large catalogs. Styling in React applications: Comparing CSS, SCSS, styled-components, and emotion, with emphasis on using a consistent system such as BEM or component-scoped patterns. Tooling and ecosystem decisions: Discussion of Create React App ejection, CSS preprocessors, lit-html, and when modern web standards or lightweight libraries make more sense than heavy frameworks. Team and workplace technology choices: Why the hosts think stack popularity should not dominate career decisions, including opinions on Ember/Rails, Happy, and why switching jobs for stack reasons is usually unnecessary. Agency and freelancing workflow: Advice on time management, client communication, freelance side work, and handling expectations in agency environments. Sponsors and personal recommendations: Ad reads for LogRocket and Kyle Prinsloo's freelancing course, plus sick picks on audio/video setup and a caffeine history audiobook.

Key Arguments: Recurring subscription access should be driven by a payment processor and synchronized to your database through webhooks, not by homegrown monthly timers. There is no single best styling approach in React; CSS, SCSS, and CSS-in-JS all work if you use a coherent system and keep styles maintainable. Create React App is fine until you need heavy customization like server-side rendering or deeper build configuration; at that point, Next.js or Gatsby may be better fits. Gatsby is excellent for static content but less natural for highly dynamic, account-based apps; Next.js is better suited to server-rendered user-specific pages. Gridsome may be a better choice for Vue developers than switching ecosystems solely to adopt Gatsby, since the learning and migration costs are high. CSS preprocessors still have value because they help bring future CSS practices now, and tools like PostCSS can target browser support automatically. Framework popularity should not be mistaken for quality; Rails, Ember, and older stacks can still power modern, high-quality products. Headless CMSs save time by handling admin UI, forms, validation, versioning, APIs, and content distribution across multiple channels. Svelte is attractive technically, but React still wins on ecosystem momentum and industry demand. In agency work, developers need to actively protect focus time and manage communication to avoid project chaos.

Data Points: Webhook timing: Subscriptions are updated when payment processor messages arrive - Used to explain that Stripe/Braintree handle recurring billing events and the app updates access when those webhooks fire. Overcast intro skipping: Mentioned as available - Used in discussion about wanting more uniform episode intro lengths. Gatsby build speed: 20 times faster - Referenced as a claim around Gatsby Builds and faster build times. Shopify unit testing ratio: 2 lines of tests per 1 line of code - Scott cited Toby/Shopify as an example of strong testing discipline. Happy GitHub activity: Last commit 5 days ago; 12,000 stars; 9 issues; 2 pull requests - Used as evidence that Happy appears actively maintained. Freelancing course milestone: 2,000th spot sold - Kyle Prinsloo's course was promoted with this sales milestone. Coupon code: 10 bucks off - Beginner JavaScript course discount using coupon code syntax. Membership discount: 25% off - Level Up Pro annual signup discount mentioned in the framer motion course promo. Book length: 2 minutes - Scott referred to the audiobook 'Caffeine' and said it was heard at 2x speed, likely meaning a quick listen; the transcript literally says 'It was two minutes.' Headless CMS customer example: Tim Hortons and Burger King - Example of a company using shared content across multiple channels.

Pivotal Quotes: "There is no best practice here." — Scott: On choosing between CSS, SCSS, and styled-components in React apps. "You need a payment processor that handles reoccurring payments." — Scott: Explaining how subscription access should be built for paid content sites. "I think the industry momentum is certainly in React's favor." — Wes: On why React remains the default choice despite interest in Svelte.

Implications: Listeners are encouraged to optimize for maintainability, team fit, and product needs rather than hype. The episode suggests React/Next remain dominant for app-like work, but developers should choose tools pragmatically and keep workflows lean.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats