Hi Hosna, Do you know, what you are doing? Actually You are motivating me to learn NextJS, Currenly I started to learn NextJS, and found this video, really amazing! Thanks a lot
Very useful, thank you. Just one thing that I would change in your code since you are using TS and this is hurting my eyes totalPosts: number; postsPerPage: number; currentPage: number; setCurrentPage: (page:number) => void;
Yes someone just asked the same question! Just updated the code, so should be there. github.com/hqasmei/youtube-tutorials/tree/main/shadcn-pagination. Also comments in the code. Let me know if you have any other questions.
Got the same kinda question. I know there is a PaginationEllipsis but I don't get what to do. Do I like show 3 pages then the ellipsis and change when the user reach the 3rd?
Yes great question! Completely forgot to include in the video. Just updated the code, so should be there. github.com/hqasmei/youtube-tutorials/tree/main/shadcn-pagination. Also comments in the code. But you want to set conditions when to show the ellipsis or not.
Finally! Thanks Hosna.
This was really helpful. Thank you !
Thank you, Hosna! Can you teach me how to build a blog with tags and pagination like this with Next.js + Prismic?
Thanks for the video.
Would it be worth the effort to make this pagination in a server component?
Thanks for video!!!
very good conten,I like it!
Hi Hosna, Do you know, what you are doing? Actually You are motivating me to learn NextJS, Currenly I started to learn NextJS, and found this video, really amazing! Thanks a lot
thank you, it worked to me
Very useful, thank you. Just one thing that I would change in your code since you are using TS and this is hurting my eyes
totalPosts: number;
postsPerPage: number;
currentPage: number;
setCurrentPage: (page:number) => void;
Will do thanks for the feedback!
It is advisable to wrap Pagination in PaginationSection? how could access to PaginationItem properties from PaginationSection?
Great. HOw to show page like this 1,2,3....,20,21. which 21 is the lat page.
Yes someone just asked the same question! Just updated the code, so should be there. github.com/hqasmei/youtube-tutorials/tree/main/shadcn-pagination. Also comments in the code. Let me know if you have any other questions.
thanks. do you have a combobox video which get the data from database and list in combobox?
@@hqasmei
Got the same kinda question. I know there is a PaginationEllipsis but I don't get what to do. Do I like show 3 pages then the ellipsis and change when the user reach the 3rd?
Yes great question! Completely forgot to include in the video. Just updated the code, so should be there. github.com/hqasmei/youtube-tutorials/tree/main/shadcn-pagination. Also comments in the code.
But you want to set conditions when to show the ellipsis or not.
can you please do a video on carousel?
Will put it on the list, anything with carousel in particular?
@@hqasmei thank you && I was thinking of doing like a “language” tab for example: Java, Python, Bash… but I was having trouble implementing /:
@@hqasmei Infinite carousel effect/
sorry bro, u dont use features of nextjs 14
thanks a lot. Instant sub and like. I was struggling to implement it. Also Can You Make A tutorial For Infinite Carousel