Hamed Bahram
Using React Hook Form, Zod Validation and Server Actions in NextJs
updated
ππΌ Clerk waitlist component
β go.clerk.com/g7eOpzA
ππΌ AI engineering path
β scrimba.com/?via=hamedbahram
ππΌ Let's connect
β hamedbahram.io/contact
ππΌ Project source code
β hamedbahram.io/notes/booking-application
ππΌ Neon serverless Postgres
β https://fyi.neon.tech/4hb
ππΌ Clerk authentication
β go.clerk.com/ohHYWoU
ππΌ AI engineering learning path
β scrimba.com/?via=hamedbahram
ππΌ Project source code
β github.com/HamedBahram/next-nuqs
ππΌ Learn AI
β scrimba.com/?via=hamedbahram
ππΌ Get in touch with me
β hamedbahram.io/contact
ππΌ Connect with Aurora
β https://x.com/aurorascharff
ππΌ Link to Aurora's blog post
β https://aurorascharff.no/posts/managing-advanced-search-param-filtering-next-app-router/
ππΌ Learn AI
β scrimba.com/?via=hamedbahram
ππΌ Connect with me
β hamedbahram.io/contact
Chapters
00:00 Introduction to Aurora Scharff and Web Development Journey
02:53 Transitioning to Next.js and App Router Challenges
05:51 Exploring Next.js: Choosing the Right Tech Stack
09:00 Current State of Next.js and Future Changes
11:55 Performance Optimization in Next.js
14:48 Data Fetching Strategies and Suspense in Next.js
18:06 Managing Search Parameters and Client-Side Interactivity
21:04 Caching Strategies and React 19 API
23:52 User Experience Considerations with Suspense
26:56 Using the New use API for Client Components
28:53 Introduction to API for Internationalization
30:02 Advanced Search Parameters in App Router
31:20 Using URL as State for User Feedback
33:01 Optimizing User Interactivity with Transitions
36:01 Implementing Optimistic UI for Better UX
40:52 Managing Search and Filter States
47:00 Exploring nuqs for Search Parameter Management
53:11 Next.js 15 Changes and Caching Strategies
ππΌ Together AI
β together.ai
ππΌ Connect with Hassan
β https://x.com/nutlope
ππΌ Let's talk
β hamedbahram.io/contact
Chapters
00:00 Introduction to AI App Development
02:51 Hassan's Journey into AI
05:35 The Success of Room GPT
08:14 Monetization Challenges and Strategies
11:06 Exploring New AI Projects
13:50 Building AI Applications: The Process
16:22 Together AI: An Overview
18:57 The Future of AI and Its Applications
27:30 The Duality of AI: Potential vs. Misuse
28:40 Introducing Lama Coder: Building AI Apps
32:05 Interactive Coding: A Demo of Lama Coder
37:57 The Art of Prompt Engineering
42:38 Exploring AI Models: Llama and Beyond
47:52 Local vs. Cloud: The AI Hosting Debate
51:09 Future Innovations: AI Agents and Function Calling
ππΌ Shadcn form builder
β https://shadcn-form-build.vercel.app
ππΌ Arcjet protection
β launch.arcjet.com/4Y6ZM9n
ππΌ Learn AI with Scrimba (get 20% discount)
β scrimba.com/?via=hamedbahram
ππΌ My courses
β hamedbahram.io/courses
ππΌ Let's connect
β hamedbahram.io/contact
ππΌ Try Scrimba and get 20% discount
β scrimba.com/?via=hamedbahram
ππΌ Web development roadmap / resources
β hamedbahram.io/notes/web-developer-roadmap-2024
ππΌ Get in touch with me
β hamedbahram.io/contact
ππΌ Vercel AI SDK
β sdk.vercel.ai
ππΌ Resources / examples discussed
β https://build-ai-app-dec-24.vercel.app/docs
ππΌ Get in touch with me
β hamedbahram.io/contact
Chapters
00:00 Introduction to AI and Versel AI SDK
01:13 Nico's Journey into AI
10:23 Understanding AI and Language Models
27:26 Exploring the AI SDK
34:38 Introduction to AI SDK Project Setup
39:04 Understanding Classification in AI Models
46:26 Leveraging Zod for Structured Data Generation
54:51 Expanding Functionality with Urgency and Language Detection
01:03:40 Building a Chatbot with AI SDK
ππΌ Cloudflare workers
β developers.cloudflare.com/workers
ππΌ My courses
β hamedbahram.io/courses
ππΌ Get in touch with me
β hamedbahram.io/contact
Chapters:
0:00 Intro
2:45 Serverless computing
4:30 Cloudflare workers
8:15 Setup
14:00 Cloudflare CLI
22:24 Environment variables
26:50 Recap
ππΌ Project source code
β github.com/HamedBahram/next-forms
ππΌ Arcjet protection
β launch.arcjet.com/4Y6ZM9n
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Let's connect
β hamedbahram.io/contact
Chapters:
0:00 Intro
2:40 Project setup
6:16 Add useActionState
20:30 Add Zod validation
31:25 Add spam protection
36:45 Recap
ππΌ Clerk auth
β go.clerk.com/HB-v6
ππΌ Upgrade to @clerk/nextjs v6
β go.clerk.com/HB-v6guide
ππΌ NextJs 15 guide
β youtu.be/-yXjzsP0s54
Chapters
0:00 Intro
1:30 Breaking changes
7:25 Setting up a new app
14:00 Migrating to v6
16:00 Default rendering strategy
21:15 Recap
ππΌ Connect with Shaundai
β https://x.com/shaundai
ππΌ Connect with me
β https://x.com/HaamedBahram
ππΌ Let's talk about your project
β hamedbahram.io/contact
Chapters
00:00 Introduction to Shaundai Person and Her Journey
05:27 Curiosity and Growth in Tech
11:04 The Importance of Soft Skills in Tech
16:46 Learning to Code: The Self-Taught Journey
22:03 Conclusion and Reflections on Career Paths
27:50 Transitioning from Sales to Engineering
40:07 Future Aspirations: Content Creation and Courses
ππΌ Arcjet
β launch.arcjet.com/4Y6ZM9n
ππΌ My courses
β hamedbahram.io/courses
ππΌ Let's connect
β hamedbahram.io/contact
ππΌ Project source code
β github.com/HamedBahram/next-15-shadcn
ππΌ The ultimate NextJs course
β hamedbahram.io/courses/nextjs
ππΌ Let's connect
β hamedbahram.io/contact
Chapters
0:00 Intro
1:00 Project setup
5:00 Site layout
15:00 Dashboard layout
27:20 Sidebar components
47:50 Styling
50:50 Recap
ππΌ shadcn/ui setup guide
β ui.shadcn.com/docs/react-19
ππΌ NextJs 15 docs
β nextjs.org/docs
ππΌ My courses
β hamedbahram.io/courses
ππΌ Let's connect
β hamedbahram.io/contact
ππΌ NextJs 15 release notes
β nextjs.org/blog/next-15
ππΌ New caching APIs in NextJs
β nextjs.org/blog/our-journey-with-caching
ππΌ NextJs conf talks (Partial prerendering)
β youtube.com/watch?v=WLHHzsqGSVQ&t=23837s
ππΌ NextJs conf talks
β nextjs.org/conf
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Medusa.js
β medusajs.com
ππΌ Medusa documentation
β docs.medusajs.com/v2
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Learn AI with Scrimba (get 20% discount)
β scrimba.com/?via=hamedbahram
ππΌ Let's connect
β hamedbahram.io/contact
Chapters:
00:00:00 Intro
00:07:30 Project setup
00:12:40 NextJs storefront
00:18:30 Medusa backend
00:22:00 Basics: Medusa container
00:25:15 Basics: Modules
00:37:20 Basics: API routes
00:39:20 Basics: Commerce modules
00:40:54 Basics: Loaders
00:43:40 Basics: Events and subscribers
00:49:45 Basics: Scheduled jobs
00:53:15 Basics: Workflows
01:05:00 Basics: Admin customization
01:09:30 Recap
ππΌ Dub.co
β dub.co
ππΌ Steven on X
β https://x.com/steventey
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Let' connect
β hamedbahram.io/contact
Chapters
00:00 Introduction to Steven Tey and Dub
02:03 Early Entrepreneurial Journey and Background
08:32 Transition from Vercel to Dub
15:14 The Birth of Dub and Its Evolution
20:00 Understanding Dub's Features and Offerings
24:58 The Importance of Product-Led Growth
31:32 Tech Stack Behind Dub
35:31 The Value of Open Source
43:06 Life as a Developer vs. Founder
47:55 AI in Customer Support and Development
50:30 The Future of AI in Development
ππΌ The ultimate NextJs course
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β github.com/HamedBahram/next-novel
ππΌ Novel: rich text editor in NextJs
β youtu.be/hP0TcRcr95Q
ππΌ Vercel blob storage
β vercel.com/docs/storage/vercel-blob
ππΌ Reweb
β https://www.reweb.so
ππΌ Promotion code for 20% discount
β hamedbahram.io/partners/reweb
ππΌ Courses
β hamedbahram.io/courses
ππΌ Project source code
β hamedbahram.io/notes/medium-clone
ππΌ NextJs Clerk starter template
β github.com/HamedBahram/next-clerk
ππΌ Live demo
β https://medium-clone-eight-ebon.vercel.app
ππΌ Convex
β https://convex.dev/c/hamed
ππΌ Clerk auth
β clerk.com
ππΌ My courses
β hamedbahram.io/courses
ππΌ Work with me
β hamedbahram.io/contact
Chapters:
00:00:00 Intro
00:05:00 Setting up Clerk
00:15:30 Setting up Convex
00:28:10 Adding Clerk auth to Convex
00:35:25 Storing user data in Convex
00:43:30 Defining users schema and functions
00:59:00 Creating an HTTP endpoint
01:06:00 Defining posts schema and the create post form
01:30:00 Uploading a file to Convex storage
01:37:50 Defining posts query functions
01:49:50 Creating dynamic slug page
01:53:50 Using convex in server components
01:59:34 Building the home page
02:11:00 Recap
ππΌ Project source code
β hamedbahram.io/notes/realtime-chat-app
ππΌ React chat tutorial
β https://dub.sh/Gc6ARrh
ππΌ React video calling tutorial
β https://dub.sh/KRzluBg
ππΌ NextJs Clerk shadcn/ui template
β github.com/HamedBahram/next-clerk
ππΌ Clerk authentication
β go.clerk.com/1zHTbA5
ππΌ My courses
β hamedbahram.io/courses
Chapters
00:00:00 Intro
00:02:18 Project setup
00:05:00 Clerk setup
00:11:10 Stream setup
00:23:30 Generating JWT tokens
00:30:00 Custom chat layout
00:33:30 Initial chat components
00:48:15 Add dark theme
00:50:15 Customizing UI component
01:04:00 Creating new channels
01:28:30 Add sidebar nav
01:31:40 Recap
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Project source code
β hamedbahram.io/notes/customer-onboarding
ππΌ Clerk auth
β go.clerk.com/D8l9fJ3
ππΌ Neon database
β https://fyi.neon.tech/3hb
ππΌ Upstash workflows
β upstash.com
Chapters:
00:00:00 Intro
00:01:20 Project setup
00:04:25 Adding Prisma & Neon
00:28:30 Fetching data
00:37:20 Dynamic slug page
00:41:40 Adding Clerk authentication
00:56:30 Clerk webhooks
01:08:00 Add onboarding flow
01:37:50 Adding Upstash workflow
02:02:28 Recap
ππΌ Cory's courses
β pluralsight.com/author/cory-house
ππΌ Cory's consulting
β reactjsconsulting.com
ππΌ Cory's Twitter
β https://x.com/housecor
ππΌ The Ultimate NextJs Course
β hamedbahram.io/courses
ππΌ Let's connect
β hamedbahram.io/contact
ππΌ Part I video β NextJs mdx portfolio
β youtu.be/hSi_x29bBmE
ππΌ Project source code
β hamedbahram.io/notes/next-mdx-portfolio
ππΌ The ultimate NextJs course
β hamedbahram.io/courses/nextjs
ππΌ Resend
β resend.com
ππΌ Build UI
β buildui.com
ππΌ Advanced React component patterns course
β Advanced React Component Patterns
ππΌ Sam's Youtube channel
β youtube.com/samselikoff
ππΌ Frontend first podcast
β buildui.com/frontend-first
ππΌ The ultimate NextJs course
β hamedbahram.io/courses/nextjs
ππΌ Let's talk
β hamedbahram.io/contact
ππΌ The Ultimate NextJs Course
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β hamedbahram.io/notes/video-course-platform
ππΌ Live demo
β https://www.learnn.dev
ππΌ Mux platform
β mux.com
ππΌ Clerk authentication
β go.clerk.com/Ch93q6G
ππΌ Neon database
β https://fyi.neon.tech/hamed
ππΌ Work with me
β hamedbahram.io/contact
Chapters
0:00 Intro
10:40 Tech stack
12:23 Project structure
13:17 Adding Clerk
19:30 Adding Prisma & Neon Db
28:20 Teacher dashboard
37:16 Adding a course
47:47 Adding lessons & Mux integration
1:22:20 All courses page
1:24:30 Course landing page & Stripe checkout integration
1:43:32 Recap & next steps
ππΌ The Ultimate NextJs Course
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β github.com/HamedBahram/next-basin
ππΌ Basin website
β usebasin.com
ππΌ Work with me
β hamedbahram.io/contact
Chapters
0:00 Intro
3:00 Project setup
5:30 Server action
11:36 Recap
ππΌ The Ultimate NextJs Course (75% Off)
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β github.com/HamedBahram/next-novel
ππΌ Novel website
β https://novel.sh
ππΌ Work with me
β hamedbahram.io/contact
Chapters
0:00 Intro
1:40 Project setup
3:20 Novel editor
7:50 Adding server action
10:00 Using prisma
13:00 Dynamic routes
14:30 Tailwind typography
15:48 Recap
ππΌ The Ultimate NextJs Course
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/canvas
ππΌ Next shadcn template
β github.com/HamedBahram/next-shadcn
ππΌ Work with me
β hamedbahram.io/contact
ππΌ The Ultimate NextJs Course (75% off)
β hamedbahram.io/courses/nextjs
ππΌ shadcn/ui charts
β ui.shadcn.com/charts
ππΌ Work with me
β hamedbahram.io/contact
Chapters
0:00 Intro
3:00 Adding charts
9:40 Adding grid
10:30 Adding axis
11:15 Adding tooltip
12:20 Adding legend
13:00 Chart config
14:00 Theming
18:10 Accessibility
18:30 Example codes
19:25 Recap
ππΌ The Ultimate NextJs Course (75% off)
β hamedbahram.io/courses
ππΌ Alex Sidorenko
β https://x.com/asidorenko_
ππΌ The Ultimate NextJs Course (75% off)
β hamedbahram.io/courses
ππΌ The Ultimate NextJs Course (75% Off)
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β github.com/HamedBahram/next-rate-limiting
ππΌ Vercel KV Quickstart
β vercel.com/docs/storage/vercel-kv/quickstart
ππΌ Upstash Rate Limit package
β github.com/upstash/ratelimit-js
ππΌ Work with me
β hamedbahram.io/hire
ππΌ The Ultimate NextJs Course
β hamedbahram.io/courses/nextjs
ππΌ NextJs caching documentation
β nextjs.org/docs/app/building-your-application/caching
ππΌ Work with me
β hamedbahram.io/hire
ππΌ Neon database
β https://fyi.neon.tech/hamed
ππΌ The Ultimate NextJs Course (75% discount)
β hamedbahram.io/courses/nextjs
ππΌ Project source code
β github.com/HamedBahram/next-neon
ππΌ Work with me
β hamedbahram.io/hire
Chapters
0:00 Intro
0:30 Neon features
4:30 Setting up NextJs 15
6:00 Adding Prisma
18:00 Querying our data
20:00 Adding server action
25:40 Neon branches
27:20 Recap
ππΌ Clerk elements documentation
β go.clerk.com/elements-docs
ππΌ Clerk website
β go.clerk.com/hamed-bahram
ππΌ New Clerk course
β hamedbahram.io/courses
ππΌ NextJs Clerk template
β github.com/HamedBahram/next-clerk
ππΌ Project source code
β github.com/HamedBahram/clerk-elements
ππΌ Work with me
β hamedbahram.io/hire
Chapters
0:00 Intro
1:30 Project setup
4:00 Adding Clerk elements
14:00 Adding verification step
24:00 Recap
ππΌ New courses
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/react-resizable
ππΌ React resizable panels
β https://react-resizable-panels.vercel.app
ππΌ Work with me
β hamedbahram.io/hire
Chapters
0:00 Intro
1:00 Project setup
1:46 Adding React resizable
7:30 Shadcn abstraction
8:44 Recap
ππΌ Colby's channel
β youtube.com/@UC7Wpv0Aft4NPNhHWW_JC4GQ
ππΌ New courses
β hamedbahram.io/courses
ππΌ Letβs talk about your project
β hamedbahram.io/contact
ππΌ New courses
β hamedbahram.io/courses
ππΌ Neon's website
β https://neon.tech
ππΌ Letβs talk about your project
β hamedbahram.io/contact
ππΌ New courses
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/next-valibot
ππΌ Next shadcn template
β github.com/HamedBahram/next-shadcn
ππΌ Valibot website
β https://valibot.dev
Chapters
0:00 Intro
1:00 Installation
7:30 Implementation
16:10 Client side validation
17:50 Recap
ππΌ My NextJs Course
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/next-tremor
ππΌ Tremor site
β https://www.tremor.so
ππΌ Work with me
β hamedbahram.io/hire
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/next-image-component
ππΌ Work with me
β hamedbahram.io/hire
ππΌ New courses
β hamedbahram.io/courses
ππΌ Source code
β github.com/HamedBahram/next-15rc
ππΌ React compiler docs
β https://react.dev/learn/react-compiler
ππΌ React conf 2024 recap
β https://react.dev/blog/2024/05/22/react-conf-2024-recap
ππΌ Letβs talk about your project
β hamedbahram.io/contact
Chapters
0:00 Intro
0:30 What is React compiler?
3:35 What does it do?
7:30 Preflight check
8:23 Getting started
10:40 Code example
18:00 Troubleshooting
19:40 Caveats
21:10 Recap
ππΌ New courses
β hamedbahram.io/courses
ππΌ React conf 2024
β https://react.dev/blog/2024/05/22/react-conf-2024-recap
ππΌ React 19 RC
β https://react.dev/blog/2024/04/25/react-19
ππΌ Work with me
β hamedbahram.io/hire
Chapters
0:00 Intro
4:50 Actions & transitions
12:05 The use API
14:26 Server components
15:10 Server actions
16:40 ref as a prop
17:20 Context provider
17:50 More updates
18:20 Recap
ππΌ The ultimate NextJs course
β hamedbahram.io/courses
ππΌ React Conf 2024
β youtube.com/live/T8TZQ6k4SLE?t=1788
ππΌ Vercel ship 2024
β vercel.com/ship
ππΌ Letβs talk about your project
β hamedbahram.io/contact
Chapters
0:00 Intro
2:00 React compiler
3:30 Hydration error improvement
4:40 Default caching behaviour
11:00 Partial prerendering
13:35 The after function
15:20 create-next-app updates
17:10 Bundling external packages
17:50 Live code example
22:18 NextJs 15 upgrade guide
24:30 Recap
ππΌ New courses
β hamedbahram.io/courses
ππΌ Project source code
β github.com/HamedBahram/bg-gradient-animation
ππΌ Work with me
β hamedbahram.io/contact
ππΌ Clerk Authentication
β go.clerk.com/9AXfPV7
ππΌ Learn Clerk
β hamedbahram.io/courses
ππΌ Clerk setup guide
β youtu.be/aI-tDJxWI6A
ππΌ NextβClerk template
β github.com/HamedBahram/next-clerk
ππΌ Project source code
β github.com/HamedBahram/clerk-webhooks
ππΌ Work with me
β hamedbahram.io/contact
Chapters
0:00 Intro
1:30 Project setup
3:45 Clerk webhooks
7:40 Using ngrok
9:30 Create an endpoint in Clerk
13:50 Add a route handler in NextJs
17:00 Setting up Prisma
21:00 Testing our webhook
24:38 Recap
ππΌ New courses
β hamedbahram.io/courses
ππΌ Project source code (Github)
β github.com/HamedBahram/next-file-conventions
ππΌ Work with me
β hamedbahram.io/hire
Chapters
0:00 intro
1:20 Top level folders
1:40 Top level files
2:50 Layout
4:30 Page
5:50 Loading UI
7:45 Not found
10:50 Error boundary
13:20 Component hierarchy
14:30 Global Error boundary
15:50 Route handlers
17:00 Template
19:15 Default UI
20:30 Nested routes
30:00 Dynamic routes
21:52 Route groups
23:15 Private folders
24:10 Metadata
24:35 Recap


