Syntax - Tasty Web Development Treats
Potluck - Peer Dependencies × Vitest × NVM and PNPM × Sprites

Potluck - Peer Dependencies × Vitest × NVM and PNPM × Sprites

Syntax - Tasty Web Development Treats

1:06:04

About this episode

In this potluck episode of Syntax, Wes and Scott answer your questions about peer dependencies, Vitest, NVM and PNPM, using sprites for images, common MongoDB operations, 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 components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.
Sanity - Sponsor Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.
Show Notes 00:03 Welcome
01:53 Configuring home internet routers
04:42 Scott’s Home Assistant update
Mushroom Theme

07:52 Could you explain to me peer-dependencies and how does it work?
13:24 Using Vitest do you still have to transpile code?
16:14 Can you talk about helpful and common MongoDB operations, beyond just CRUD.
18:49 How can I update the “updatedAt” field of the document on every save automatically?
20:40 What is aggregation, and when do you use it?
25:33 Sponsor: Prismic
27:27 How does NVM relate to PNPM?
pnpm

nvm

30:45 I’m looking to upskill from front-end JavaScript?
33:53 Is it possible to have a private NPM repo I can “npm install” from, or do I put my components up on NPM publicly?
Creating a private npm package

37:51 Sponsor: LogRocket
39:14 Should a majority of lodash functions be considered deprecated?
angus c just

42:36 Please do an episode on programming/learning with ADHD.
44:04 Should I still be putting images in sprites?
49:20 Does Mux have a simple mechanism for adding auth to each video or group of videos?
Mux Create playback restriction

53:48 Sponsor: Sanity.io

55:02 Is there copyright issues with using public APIs?
Moneypuck

59:38 ××× SIIIIICK ××× PIIIICKS ×××
××× SIIIIICK ××× PIIIICKS ××× Scott: Toto Bidet

Wes: Sodastream

Shameless Plugs Scott: LevelUp Tutorials

Wes: Wes Bos Tutorials

Tweet us your tasty treats Scott’s Instagram

LevelUpTutorials Instagram

Wes’ Instagram

Wes’ Twitter

Wes’ Facebook

Scott’s Twitter

Make sure to include @SyntaxFM in your tweets

More from Syntax - Tasty Web Development Treats

Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share an entry-level setup for recording video les…

1h 6m

Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus Bombadil’s property-based testing for web UIs. They…

1h 11m

Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of our code. They discuss going zero dependencies, a 5x smaller bundl…

50m

Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and the infrastructure overhaul decoupling storage from compute. P…

31m

Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent again. Plus Anomaly's Hex dictation app, Mitchell…

1h 35m