Nextjs 14 Simple Filtering Tutorial Server Actions, React Query Drizzle

  Рет қаралды 13,230

developedbyed

developedbyed

Ай бұрын

Join Brilliant using the link bellow for 30-day free trial + 20% off the premium subscription brilliant.org/developedbyed/
Check out my web dev courses below🔥
developedbyed.com/
👨‍💻Connect with me
Twitter: / developedbyed
Instagram: / developedbyed
Github: github.com/developedbyed/
---
🎶 Dope tracks🔥
Enough Cereals - Foresight chll.to/7f81611e
Yasper - Little Help chll.to/7f5825ec
Axian, Lazlow - Slinky chll.to/617c119b
Blue Wednesday, morningtime - Brush Strokes chll.to/f8d44967
#react #nextjs

Пікірлер: 18
@developedbyed
@developedbyed Ай бұрын
Hope you enjoy this one 🔥 If you want to also limit the number of requests you get back, you can use something like Drizzle's gte (greater then) function with the eq function. So your paramater can have something like 50:number, so you can fiter out ids that are below 50 for example 👍👍
@mounir101
@mounir101 Ай бұрын
Very helpful. Thanks so much Ed.
@codermeloman3030
@codermeloman3030 Ай бұрын
Thank you! More React Query content please!
@Code-sz9db
@Code-sz9db Ай бұрын
Hey Ed! This is a great video, but I just wanted to mention that setting up Drizzle and the schema.ts file might seem a bit confusing at first for people who are totally new to this. Maybe you could add a bit more explanation in the beginning to break it down for beginners? It might be very boring to you to explain every detail but most people who come to see this video are like absolute beginners. The video is still awesome! And you're awesome too!
@marginiszero
@marginiszero Ай бұрын
This is a great video bro🔥❤
@GucciKevin-qj7nb
@GucciKevin-qj7nb Ай бұрын
Instead of setting onclick on Badges you can use Link Component, By which you can make this component a server component as well
@salieflewis
@salieflewis Ай бұрын
What's the reason for making the getter function(s), i.e. getVariants, a server action versus just a regular async function? EDIT: I figured this out the hard way after encountering the error [Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".] This still makes little sense to me, can you shed any light on why these getters need now be server actions?
@webdeveloper2769
@webdeveloper2769 Ай бұрын
thank you very much bro
@hellokevin_133
@hellokevin_133 Ай бұрын
Hey bro any plans on updating fullstack react course on your website? it's been a year !
@Alex.Shalda
@Alex.Shalda Ай бұрын
Thanks!!! 🎉🎉🎉
@ranjikanethpriya8232
@ranjikanethpriya8232 Ай бұрын
I love you man❤✌
@dawidwraga
@dawidwraga Ай бұрын
Isnt get varianta a server function? You are calling your db inside it and then importing it client side? Or am i misunderstanding something?
@kiddhkane
@kiddhkane 20 күн бұрын
Where's the github repo?
@somerandomdude-hoyeaaaaa
@somerandomdude-hoyeaaaaa Ай бұрын
Oh god. I don't wanna say it. FIRST¿ 😂
@semicolon6499
@semicolon6499 Ай бұрын
¿
@semicolon6499
@semicolon6499 Ай бұрын
What ‽
@chandrareddy9942
@chandrareddy9942 8 күн бұрын
Why you are loading products on client side
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 13 МЛН
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 21 МЛН
Very Best And Good Price Smart Phone
0:42
SDC Editing Zone 9K
Рет қаралды 217 М.
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН