Uploaded November 2023 | Updated November 2026, 2 hours ago
Learn five system design patterns that you can use with various combinations of server actions, APIs and microservices.
Code: github.com/jherr/server-actions-vs-apis
π Upcoming NextJS course: https://pronextjs.dev
π Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
π Discord server signup: discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
0:00 Introduction
1:27 Short Postgres/ Clerk Setup
4:10 Server Action Direct to DB
7:24 Server Action To Local SQL Module
10:10 API to Local SQL Module
14:02 Application And Microservice
17:38 Application to Microservice Proxied
20:31 Outro
Learn five system design patterns that you can use with various combinations of server actions, APIs and microservices.
Code: github.com/jherr/server-actions-vs-apis
π Upcoming NextJS course: https://pronextjs.dev
π Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
π Discord server signup: discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
0:00 Introduction
1:27 Short Postgres/ Clerk Setup
4:10 Server Action Direct to DB
7:24 Server Action To Local SQL Module
10:10 API to Local SQL Module
14:02 Application And Microservice
17:38 Application to Microservice Proxied
20:31 Outro
![DONT Use JSON.parse & JSON.stringify
JSON.stringify and JSON.parse have problems. What are some good alternatives?
Code: https://github.com/jherr/json-alternatives
π ProNextJS Course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and BitstromWera Nerd Font Mono
π Terminal Theme and font? oh-my-posh with custom prompt and BitstromWera Nerd Font Mono
00:00 Introduction
00:36 JSON stringify issues
02:54 Superjson
04:45 Seroval
06:54 Supporting Comments
08:03 Outroduction DONT Use JSON.parse & JSON.stringify](https://i.ytimg.com/vi/PtcQwb1uBhc/mqdefault.jpg)

![React 19s useOptimistic: EVERYTHING you NEED to know
useOptimistic makes your pokey backend feel fast with optimistic updates to your UI. Its simple to use, but well covert the gotcha, as well as how to use it with React Query and also whether or not you should use it with a state manager.
Code: https://github.com/jherr/useOptimistic-video
π Upcoming NextJS course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
00:00 Introduction
00:50 Creating a simple API server
03:05 Setting up Pico CSS
04:40 Connecting to the API server
05:43 Posting todos to the server
06:54 Bring on useOptimistic with 19
09:04 When to call the useOptimistic setter
10:10 useOptimistic with a transition
11:10 Potential issues with useTransition
11:56 Reducer variant of useOptimistic
12:48 Error handling
14:25 Using a form action
16:00 useActionState
17:28 Integrating with React Query
18:02 Donβt fear the peer deps warning
19:48 Using React Queryβs useMutation
21:32 Once more, but with Zustand
24:09 State manager or useOptimistic
24:29 Outroduction React 19s useOptimistic: EVERYTHING you NEED to know](https://i.ytimg.com/vi/QWVr7uDyBXE/mqdefault.jpg)
![STOP Using Recoil, Use This Instead!
Check out these alternatives to Recoil: LegendApp State, Tanstack Store and Jotai!
Code: https://github.com/jherr/recoil-alternatives
π ProNextJS Course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and BitstromWera Nerd Font Mono
π Terminal Theme and font? oh-my-posh with custom prompt and BitstromWera Nerd Font Mono
00:00 Introduction
00:20 Recoil
03:10 Legend App State
05:15 Tanstack Store
07:20 Jotai
10:11 Outroduction STOP Using Recoil, Use This Instead!](https://i.ytimg.com/vi/QepeuHTxiLo/mqdefault.jpg)

![Dominik Dorfmeister: React Query With The App Router
π Upcoming NextJS course: https://pronextjs.dev
π Im a host on the React Round-Up podcast: https://devchat.tv/podcasts/react-round-up
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF Dominik Dorfmeister: React Query With The App Router](https://i.ytimg.com/vi/R4NHXrvwZWA/mqdefault.jpg)

![React-Native Server Components! Change Your Native UI From Your Server!
You can finally drive your native UIs directly from the server using Expo and RSCs!
Code: https://github.com/jherr/react-native-rscs
Expo RSC Documentation: https://docs.expo.dev/guides/server-components/
π ProNextJS Course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with custom prompt and SpaceMono NF
00:00 Introduction
00:21 React Native Image Selection
02:27 Our First Server Function
04:31 Calling A Server Function
05:15 Server Functions For Query
06:54 Returning RSCs
07:25 Using RSCs
10:52 Interactive RSCs
11:39 How RSCs Work
12:19 Using RSCs With Suspense
This video was sponsored by Infinite Red (https://infinite.red) React-Native Server Components! Change Your Native UI From Your Server!](https://i.ytimg.com/vi/RW1SlwBx0hk/mqdefault.jpg)
![Part 2 - MCP Client Setup in 10 Minutes
Lets follow up our building of a DIY MCP server by building an MCP client from scratch!
Part 1: Server - https://youtu.be/nTMSyldeVSw
Part 2: Client - This video
Part 3: AI - Coming up!
Code: https://github.com/jherr/diy-mcp/tree/main/client
π ProNextJS Course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and BitstromWera Nerd Font Mono
π Terminal Theme and font? oh-my-posh with custom prompt and BitstromWera Nerd Font Mono
00:00 Introduction
00:46 Starting The MCP Server
02:17 RPC To The Server
03:29 Initializing The Server
05:00 Listing Tools
06:07 Listing Resources
06:21 Adding A UI
08:34 Calling A Tool
09:18 Supporting Arguments
10:25 Getting Resources
11:40 Outroduction Part 2 - MCP Client Setup in 10 Minutes](https://i.ytimg.com/vi/S2x1bsMk19I/mqdefault.jpg)
![Radix Themes: Awesome New Components For NextJS
The NextJS App Routers auto mode does a great job of figuring out when a page is static or dynamic, but how and when should you take control for yourself?
Code: https://github.com/jherr/radix-pokemon
Radix Themes: https://www.radix-ui.com/
WorkOS: https://workos.com/
AuthKit: https://www.authkit.com/
π Upcoming NextJS course: https://pronextjs.dev
π Dont forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
π Discord server signup: https://discord.gg/ddMZFtTDa5
π VS Code theme and font? Night Wolf [black] and Operator Mono
π Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
00:00 Introduction
01:58 Radix Themes Installation
02:46 Theming
07:35 AuthKit Authentication
12:52 Database Setup
15:10 Building The Home Page
17:08 Building The Deck Detail Page
20:06 Adding Pokemon Search
22:43 Outroduction
The video is sponsored by WorkOS. Radix Themes: Awesome New Components For NextJS](https://i.ytimg.com/vi/SKm2XGxbLLM/mqdefault.jpg)
