Adding a Search Feature to a Server Component | Next.js App Router

  Рет қаралды 8,905

this.stephie

this.stephie

Күн бұрын

#nextjs13
Learn how to use URL search parameters to add search functionality to a server component in a Next.js app router project.
0:00 - Intro
1:13 - Overview of page code
2:01 - Capturing the user's input
2:41 - Update URL with search param
4:13 - Keeping the url and input in sync
4:45 - Updating the table based on search query
5:42 - Debouncing
💻 RESOURCES:
Next.js Learn Course: nextjs.org/learn
🤝 LET’S CONNECT:
◆ Twitter: / steph_dietz_
◆ Github: github.com/StephDietz
◆ Blog: steph-dietz.com

Пікірлер: 24
@techdockerz
@techdockerz Ай бұрын
WOW !!! to the point showed the professional production-ready example. better than a long tutorial ends up in no way.
@davidlintin
@davidlintin Күн бұрын
Perfect tutorial. Looking to use this in my project. But I have additional filters so will probably require a search button instead of live updating.
@veljkomaksimovic
@veljkomaksimovic 23 күн бұрын
Great tutorial. Exactly what I was looking for!
@AliAkgul-ym6wz
@AliAkgul-ym6wz 2 ай бұрын
I've been losing my sanity trying to implement client and server components together for this functionality. Thank you so much for this.
@yiyin4917
@yiyin4917 5 ай бұрын
This is what I'm looking for, straightforward and easy to understand. Thank you, Stephie.
@maskman4821
@maskman4821 8 ай бұрын
This is exactly what I am looking for, thank you Stephanie 🙏
@Demdevvy
@Demdevvy 7 ай бұрын
I took a lot away from this video and it helped fill in a lot of gaps in my understanding. Thank you.
@VincentFulco
@VincentFulco 8 ай бұрын
Great walkthru , thank you.
@codeSTACKr
@codeSTACKr 8 ай бұрын
Great tutorial 🙌
@mohammadDeveloper2431
@mohammadDeveloper2431 8 ай бұрын
Great mam it's awesome smoothly understand step by step thank you mam Please keep on making more video new features in next js 14
@vipinsanthosh2230
@vipinsanthosh2230 4 ай бұрын
Great resource, thanks a lot
@filipkalny6594
@filipkalny6594 8 ай бұрын
Great video, but I'm disappointed that you didn't go into more depth. The transition hook would be perfect so that we can see an indicator of a pending loading state.
@codeChuck
@codeChuck 6 ай бұрын
Simple and professional! Cool stuff! You included 'use-debounce' BLAZINGLY FAST :D
@MiladJoodi
@MiladJoodi 4 ай бұрын
Thanks a million ♥
@loudboomboom
@loudboomboom 4 ай бұрын
Wooot, tysm!
@JuanMoisesTorrijos
@JuanMoisesTorrijos 2 ай бұрын
This is exactly what I needed. Thank you very much!
@Svish_
@Svish_ 7 ай бұрын
Could you make a video on how to write/cache files during build of nextjs in a way that's compatible with vercel and serverless? Say for example you have a blog and all blog posts stored as text files, and you want to create an index/map of all the posts during build so that it's quick to generate lists of the latest posts, sitemaps, rss feeds, and so on. Where/how should I hook into the build process to create this index? Where should I write it to?
@paakofibamfoquaicoe4193
@paakofibamfoquaicoe4193 8 ай бұрын
Awesome. Please should we expect a video version of the new nextjs learn content?😊
@this.stephie9927
@this.stephie9927 8 ай бұрын
As of right now there are no plans to create a video version of the course 😕
@paakofibamfoquaicoe4193
@paakofibamfoquaicoe4193 8 ай бұрын
@@this.stephie9927 Woow!. That was quick. Thank you.
@naufalnasrullah6965
@naufalnasrullah6965 6 ай бұрын
is it possible to not using client components when dealing with search feature?
@eldan90
@eldan90 5 ай бұрын
The search box is a client component due to the input and onChange events, the rendering of results can be server rendered.
@twitchizle
@twitchizle 8 ай бұрын
easier with remix
Don't Make These Next.js Mistakes
13:01
Dave Gray
Рет қаралды 22 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 198 М.
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 3,2 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 40 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 64 МЛН
Next.js 15 Ruins Caching Even More
13:56
Web Dev Simplified
Рет қаралды 42 М.
Build a Search Bar with Next.js and Prisma (Search API endpoint)
40:22
3 ways to reduce the size of your docker images
17:20
Raghav Dua
Рет қаралды 8 М.
How To Use Next.js 14 Server Actions
21:06
Brett Westwood - Software Engineer
Рет қаралды 24 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 289 М.
98% Cloud Cost Saved By Writing Our Own Database
21:45
ThePrimeTime
Рет қаралды 338 М.
Want to make a chat app? Get Real-time With WebSockets & Socket.io!
1:31:40
Good Morning Developers
Рет қаралды 7 М.
Learn Next.js Parallel Routes In 16 Minutes
16:18
Web Dev Simplified
Рет қаралды 120 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 3,8 МЛН