Pagination in React

  Рет қаралды 2,855

Colby Fayock

Colby Fayock

Күн бұрын

Add serverside pagination to a React app with Next.js and Drizzle ORM.
We'll walk through how we can set up paginated queries for a database using Drizzle ORM, use serverside URL state to navigate to different pages, add interactive UI for navigating between the pages, and how we can use suspense to defer loading of pagination to improve page loading.
Get exclusive access to my upcoming course: spacejelly.dev...
🧰 Resources
Tutorial: spacejelly.dev...
Code: github.com/col...
📺 KZbin: kzbin.info...
🐦 Twitter: / colbyfayock
📹 Twitch: / colbyfayock
✉️ Newsletter: www.colbyfayoc...
🎥 What I Use: www.colbyfayoc...
#colbyfayock #reactjs #nextjs #database #pagination #javascript #webdevelopment

Пікірлер: 14
@colbyfayock
@colbyfayock Ай бұрын
Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course
@Tomita84
@Tomita84 Ай бұрын
Thanks for the content. You have a great didactic, with simple explanations and examples that are easy to understand...Congrats
@colbyfayock
@colbyfayock Ай бұрын
no problem! and thanks for the kind words
@ardianhotii
@ardianhotii Ай бұрын
Thank you for sharing this. Actually, I just need this right now in an app I'm building, and this would help me so much . Thank you again so much
@colbyfayock
@colbyfayock Ай бұрын
awesome! happy to hear that 🙌
@dqampire
@dqampire Ай бұрын
I'll use this in my project. Thank you
@colbyfayock
@colbyfayock Ай бұрын
awesome! no problem
@alokbaluni8760
@alokbaluni8760 Ай бұрын
You're way too good!
@colbyfayock
@colbyfayock Ай бұрын
🫶 thank you!
@AndriusLau
@AndriusLau Ай бұрын
"If we have a slow query running..." - then we need to fix the backend :)
@colbyfayock
@colbyfayock Ай бұрын
haha fair enough!
@ooyey
@ooyey Ай бұрын
why ssr in this case?
@colbyfayock
@colbyfayock Ай бұрын
React/Next.js/Vercel are really pushing SSR and streaming as ways to improve app performance with things like less code being shipped to the browser and resource loading / round trips potentially being more efficient ultimately this is just another way of being able to do it and the correct answer would be to see how your app handles both scenarios and see what both performs better and feels better from a UX perspective
Generate a PDF in React
23:38
Colby Fayock
Рет қаралды 14 М.
Favicons the Right Way
18:07
Colby Fayock
Рет қаралды 10 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 109 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 23 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 72 МЛН
They made React great again?
4:11
Fireship
Рет қаралды 1 МЛН
Finally Understanding The Usefulness Of CSS Subgrid: In Just 10 Minutes
10:56
Frontend FYI – by Jeroen
Рет қаралды 4,2 М.
How To PocketBase Like A Pro
16:38
Early Morning Dev
Рет қаралды 939
Warn Users When Leaving a Page in React with beforeunload
10:22
Colby Fayock
Рет қаралды 16 М.
Best Way to Add Popup Modals in React
26:19
Colby Fayock
Рет қаралды 8 М.
When "TypeScript Support" Isn't Enough TypeScript
8:14
Jack Herrington
Рет қаралды 7 М.
How Many HTTP Requests can a $6 VPS Handle?
9:38
CoderOne
Рет қаралды 25 М.
ReactJS Pagination Tutorial using React Hooks
22:18
PedroTech
Рет қаралды 107 М.
Simple Frontend Pagination | React
19:13
Traversy Media
Рет қаралды 480 М.
You Don't Need a CMS - Use This Instead
28:55
Colby Fayock
Рет қаралды 22 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 109 МЛН