React JS Interview Questions ( Pagination ) - Frontend Machine Coding Interview Experience

preview_player
Показать описание

#JavascriptInterview #ReactInterview #ReactJS

React Interview Question on creating Pagination for a List of Data will be created in this video along with tips and tricks to tackle your React JS and JavaScript Questions in Frontend Machine Coding Interviews.

➡️ Book an Interview Preparation call with me -

🟦 Follow me on Twitter and u will clear your interview 🤓 -

➡️ Source Code -

🔗 Frontend Machine Coding Interview Series -

🔗 Map, filter and reduce -

🔗 Cars24 Interview Experience -

🔗 Unacademy Interview Experience -

🔗 Tazorpay Interview Experience -

🔗 MERN Stack Tutorial with Redux -

🔗 React Beginner's Project Tutorials -

-------------------------------------------------------------------------

00:00 Intro
00:34 What is Paginaton?
01:27 Problem Statement
02:35 Fetch Products Data
05:15 Render all Products
10:37 Pagination Implementation
16:04 Page Selection Logic
17:30 Next and Previous Page Logic
20:09 Backend Driven Approach
24:18 Get Interview Preparation call with me

-------------------------------------------------------------------------

⭐ Support the channel and learn from me One on One -

Special Thanks to our members -
Рекомендации по теме
Комментарии
Автор

One of the rarest live coding video that I watched till the end.
Keep up the good work bro, you just earned a subscriber!

navvneat
Автор

Thank you, man! Always relevant content, well explained and structured.

ninjaplavi
Автор

Now I am addicted to your content 😂 Amazing video on Frontend drived pagination 😎🙌

Sandeep-zddq
Автор

Thank you.
Another reasy approcah for disabling can be:
CSS: :disabled {
opacity: 0;
}


JSX:
<button
className="prev_next"
onClick={() => setPage((prev) => prev - 1)}
disabled={page === 1}
>
Prev
</button>

<button
className="prev_next"
onClick={() => setPage((prev) => prev + 1)}
disabled={page === noOfPages}
>
Next
</button>

usmanrangrez-cdzj
Автор

Your videos are awesome please continue making the front end interview coding series

sandeshpetkar
Автор

With the help of your video and your YouTube channel, I cracked the interview.

ANANDKUMAR-inpc
Автор

the best explanation video creator in development world thank
u so much

dacratos
Автор

great playlist, binging your channel since last few days :) Plese keep up the good work

harshmodi
Автор

I did not know about BEM convention till now. Thanks

Ath
Автор

So what if you have 1000 products and you need 100 buttons for that. In that case you are not showing 100 button at once right? I dont know why all the pagination video on youtube skips this part.

shakilahmed
Автор

Nicely Explained Bro . I am a new to the React .. good to know the stuff.

abhisektripathy
Автор

Very nice video, i am learn many new things from your videos...
Please create videos on backend development coding interview rounds... Thank you.

ramkrushnaprabhu
Автор

Amazing tutorial, very easy to understand !!

nileshkumar
Автор

Thank you. i just implimented this soluion in one of my side project :)

koushithb.r
Автор

Great! your teaching style is very good

ritikrathour
Автор

Thanks to you Man! Finally, I landed a job! :D

jaspersanchez
Автор

further enhancement -
1. instead of mapping Array(Product.length/10), make it more generic so that in future if PM wants only 5 or 8 elements per page, this should be a simple change. above logic will fail for such edge cases
2. add key prop everytime you use map
3. add accessibility features like tabIndex, role, should be clickable via enter key
4. make it responsive

Krishnasaini
Автор

Thanks a lot, please make videos on backend too

purusharma
Автор

Bro you are unique, i love you brother, keep grow with us brother❤

devascript
Автор

Please make more such videos on machine coding. This content is just wonderful 🧡

anubhapant