Syntax - Tasty Web Development Treats

Potluck - enums, WASM, Lighthouse, Redirects

Dec 15, 2021
The hosts tackle a potluck of web development topics, diving into the nuances of user experience metrics and the impact of Google's initiatives. They discuss the importance of real user interactions in the Lighthouse scoring system, with insights on NPM command safety. The conversation shifts to enums and the advantages of WebAssembly, enhancing application performance. A lively framework showdown compares Astro and SvelteKit, while the challenges of browser updates and audio troubleshooting bring relatable tech issues to light.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Beyond Page Load

  • Google Chrome will measure user experience beyond just page load completion.
  • This means focusing on interactivity and how users actually experience a website.
ADVICE

Safe NPM Execution

  • Avoid using sudo with npm commands to prevent potential malicious behavior.
  • Change npm permissions directly instead of using sudo for global installs.
ADVICE

Boolean Prefixes

  • Prefix boolean variables with "is" or "has", but not functions.
  • Use "get" or "set" prefixes for functions returning or setting booleans.
Get the Snipd Podcast app to discover more snips from this episode
Get the app