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

Potluck - Libraries vs Frameworks × Firefox × Career Advice For Teenagers × Who Would Win a Thumb War × More!

It’s another potluck! In this episode, Scott and Wes answer your questions about libraries vs frameworks, Firefox, who would win a thumb war, and more! Prismic - Sponsor Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of component

Featured Speakers

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

Topics Discussed

Episode Summary

Executive Summary: A Syntax potluck episode covers practical web-dev decisions and career advice: React vs frameworks, browser choices (Firefox vs Brave), XState/state machines, jQuery vs React, design patterns, Figma-to-code workflow, project setup, and technical communication. The hosts favor pragmatic tooling choices, learning through real problems, and using small projects and cloud tools to reduce friction for beginners and busy learners.

Main Topics: React as a library vs a framework: React is framed as a view-layer library rather than a full framework because it leaves routing, data loading, animations, and other concerns to the ecosystem. Browser preferences: Firefox and Brave: The hosts compare Firefox, Chrome, and Brave, praising Firefox dev tools and Brave’s privacy features while noting compatibility and mobile issues. State machines and XState: They discuss state machines as a useful computer science concept, but note a shortage of real-world XState examples and recommend not forcing Apollo local state into the cache. Choosing between jQuery, vanilla JS, and React: For larger apps React makes sense, but for small DOM tasks they recommend vanilla JS over jQuery, except for a few legacy conveniences like height animations. Learning and using design patterns: Design patterns are presented as useful once you’ve encountered the problems they solve, rather than something to learn abstractly first. Career advice for young or busy learners: The hosts advise beginners under 16 and adults with limited time to use cloud tools, small projects, local networking, and incremental skill-building to get started. Workflow, Figma, and project scaffolding: They cover how much to copy from design tools, when to eyeball layout, and how to manage starter configs for TypeScript, ESLint, and Prettier.

Key Arguments: React is called a library because it primarily provides a view layer and relies on community tools for routing, data, and other framework-level features. Firefox is still favored by both hosts for desktop development, but mobile behavior and sync limitations are notable annoyances. Brave is attractive for privacy and transparency, but it can break site workflows like Azure sign-up, showing that privacy-focused browsing is not always seamless. XState and state machines are intellectually valuable, yet real-world tutorials and examples are still lacking, especially for API-driven apps. For small interactive features, vanilla JavaScript is usually preferable to jQuery; jQuery’s main remaining advantage is some animation convenience. Design patterns should be learned in context after encountering repetitive code or structural pain points; abstract pre-study is less effective. Young developers can work around weak hardware by using cloud IDEs and free hosting tiers, and can earn money by starting with low-risk neighborhood work or family connections. Technical communication improves through reps, metaphor, and explaining code out loud in a way that matches how you personally understand it. For project setup, the hosts largely rely on copying configs or using shared package/config files, with global tools used for quick experiments. Design-to-code translation should use Figma as a guide, but developers should often eyeball spacing and only copy especially tedious CSS values like shadows and gradients.

Data Points: Firefox adoption check-in: 6 months - They discuss whether they are still using Firefox after half a year. Apollo DevTools absence: ~2 years - Apollo DevTools had been unavailable in Firefox for roughly two years before returning. Brave usage duration: ~3 months - Scott says he has been on Brave for a while, likely around three months. Age threshold: under 16 - A listener describes being less than 16 and unable to legally work. Storage on device: 16 gigs - The under-16 learner is running a Raspberry Pi with limited storage. Concurrency: less than 50 concurrent people - An enterprise-style app example mentions fewer than 50 concurrent users. Line-height example: 1.5 × 16 = 24 - They explain vertical rhythm using a 16px font size and 1.5 line-height. Nav height example: 48 pixels - They suggest a top nav height of about twice the vertical rhythm height. Pre-cut parchment sheets: 500 sheets for $32 - Wes says he buys 500 pre-cut parchment sheets at a time for about $32. Pre-cut parchment vs store price: about half the price - He compares bulk pre-cut sheets to store-bought options and says they are roughly half the price. Course discount: $10 off - Wes promotes a beginner JavaScript course with coupon code syntax for an extra $10 off. Yearly discount: 50% off the year - Scott promotes his Sapper course with a 50% yearly discount.

Pivotal Quotes: "React likes to think of itself as this view layer for your application." — Scott: Explaining why React is a library rather than a full framework. "I would not put it in Apollo. It's just too hard. Either put it in context or something else." — Scott: Advising against using Apollo cache for local UI state. "At 26, is that too old to make it into web development? No, you're a baby in web development." — Wes: Encouraging a listener worried about being too old to start learning web development.

Implications: Listeners are encouraged to choose tools pragmatically, learn concepts through real projects, and use cloud-based workflows when hardware or time is limited. The episode reinforces that web dev success depends more on problem-solving and iteration than on adopting every trendy abstraction.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats