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 ×××
Shameless Plugs
Tweet us your tasty treats