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

Syntax Live React Edition

It’s another live episode of Syntax in which Wes and Scott do Hook’d on Hooks, Who’s Snackin’ on React, Stump’d, Unpopular Opinions, Q & Eh, and more! Sentry - Sponsor If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps d

Featured Speakers

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

Topics Discussed

Episode Summary

Executive Summary: A live Syntax FM episode blends audience games, practical React hook tips, a live coding challenge, stumped interview questions, and a long Q&A. The hosts emphasize how hooks simplify common UI tasks, argue that React is often overcomplicated, and highlight the value of browser APIs like ResizeObserver and IntersectionObserver. The episode is energetic, humorous, and highly interactive.

Main Topics: Live audience engagement and show format: The hosts introduce a packed live-show agenda: trivia, hook tips, a guessing game, a tag-team coding challenge, interview questions, unpopular opinions, and Q&A, all driven by audience participation via mobile phones and Pigeonhole. React-using websites trivia game: Audience members guessed whether major sites like Elton John, Lamborghini, Starbucks, Wayfair, and Walgreens were built with React, creating a fun benchmark of how React is used in surprising places. Hook patterns and browser APIs: The hosts demonstrate custom hooks for local storage, WebSocket state, click-outside detection, key presses, and element measurement, repeatedly noting how built-in browser APIs can replace heavier libraries. This, That, or Both: naming and framework culture: A second audience game uses odd names to test whether they refer to software, products, or unrelated things, reinforcing how JavaScript ecosystem naming can be confusing and funny. Live tag-team coding challenge: Wes and Scott attempt to build a dad-joke app with hooks while switching every 30 seconds, revealing both the strengths of hooks and how easy it is to overcomplicate a small app. Stumped interview questions and React fundamentals: Audience volunteers answer React interview questions about PureComponent, setState callbacks, array immutability, useReducer, useLayoutEffect, and PropTypes, turning fundamentals into a teaching moment. Unpopular opinions and broader React philosophy: The hosts react to tweets about React becoming the platform, hooks versus classes, deprecation speed, complexity, and learning curve, arguing for pragmatism, simplicity, and gradual adoption.

Key Arguments: Hooks can dramatically simplify common tasks like local storage, click-outside detection, key-state tracking, and DOM measurement by wrapping browser APIs in reusable patterns. Many React apps are more complicated than they need to be; developers often reach for abstractions, patterns, or custom hooks before the problem actually requires them. Browser-native features such as ResizeObserver, IntersectionObserver, contains(), and WebSockets reduce the need for third-party libraries for many UI behaviors. Suspense and better built-in data-loading patterns are seen as important future improvements because hooks alone do not fully solve data-fetching complexity. React knowledge is often best learned through real-world pain: immutable updates, lifecycle nuances, SSR/code-splitting/data-fetching conflicts, and state-management tradeoffs become clear only after use. Classes, hooks, and old patterns are presented as tools rather than moral choices; the hosts favor practical adoption over ideology. The web development ecosystem repeatedly cycles through calls for frameworks to become part of the browser, but the hosts are skeptical and compare this to past enthusiasm around jQuery and Less.

Data Points: Pigeonhole participation: Almost 100 participants, then about 130 in the room - During the React website trivia game, the hosts tracked live audience participation via mobile phones. Trivia score average: 2.47 - Reported after the first React-website guessing round. Top trivia score: 5 out of 5 - One audience member achieved a perfect score in the React website guessing game. Second game top score: 7 out of 8 - At least two audience members scored 7/8 in the This, That, or Both game. Websites trivia example: Elton John = React - First reveal in the website-building game; Ariana Grande was the incorrect distractor. Websites trivia example: Lamborghini.com = React - Audience correctly guessed Lamborghini in a close split. Websites trivia example: Starbucks = React - Audience found Starbucks to be the React-powered site, surprising the hosts. Websites trivia example: Wayfair.com = React - Used as an example of a large React application powering multiple properties. Websites trivia example: Walgreens.com = React - Audience guessed Walgreens correctly with less than half voting correctly. Sentry promo: 2 months free with code 'tasty treat' - Promotional offer mentioned during the sponsor segment. Armory promo: Spring-summer 2019 lookbook - The Armory sponsor segment highlighted a new lookbook and their online store.

Pivotal Quotes: "Most people make React apps more complicated than they need to be." — Sophie Alpert (quoted by hosts): Used during the unpopular-opinions section to argue against unnecessary complexity. "React should become the platform." — Alex R. Anderson (quoted by hosts): An unpopular opinion the hosts discussed while comparing it to past calls for browser-native frameworks. "We just defined the function, but it's yellow because we never used it." — Wes Boss / Scott Tolinski: From the live coding challenge, illustrating how they realized their hook function needed to actually be invoked via useEffect.

Implications: For React developers, the episode reinforces a pragmatic mindset: use hooks and browser APIs to reduce boilerplate, but avoid overengineering. It also signals where React may be heading next—better data loading, simpler patterns, and more native-feeling abstractions.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats