React JS Interview Questions ( Dark mode Light mode ) - Frontend Machine Coding Interview Experience

  Рет қаралды 30,685

RoadsideCoder

RoadsideCoder

Күн бұрын

Пікірлер: 61
@RoadsideCoder
@RoadsideCoder Жыл бұрын
🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details ➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder 🟪 Follow me on Instagram and u will clear your interview 🤓 - instagram.com/roadsidecoder/
@rayyanabdulwajid7681
@rayyanabdulwajid7681 Жыл бұрын
What all beginner javascript projects should we do before moving on to react?
@arshad402
@arshad402 Жыл бұрын
.
@VIVEKGUPTA-zc5ui
@VIVEKGUPTA-zc5ui Жыл бұрын
yes we want a video for this dark and light feature using the redux toolkit please share with us
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Alright!
@mdanas0007
@mdanas0007 11 ай бұрын
Very simple with redux just dispatch action in payload dark or light. Fetch value using useSelector from store and base on light and dark string output you can remove and add classes conditionally using ternary operator thats it. Whit javaScript its a bit cumbersome.
@curlyfried3117
@curlyfried3117 Жыл бұрын
Dude your content has helped me so much. Thank you!
@meryemOuyouss2002
@meryemOuyouss2002 9 ай бұрын
You're implementation is really amazing
@sankhojjalchatterjee
@sankhojjalchatterjee 9 ай бұрын
Thanks, bro, for the video. I think in a real-world application, storing the light/mode into local Storage would be better as context/ or any state would set to default value once the page is reloaded. So, i used similar approach for UI and created a custom Hook for storing the state.
@prafuldeoghare1904
@prafuldeoghare1904 Жыл бұрын
Maza aa gaya guru!!!
@devin3944
@devin3944 9 ай бұрын
Thank you so much. Although I used tsx for my context, this method works perfectly.
@RoadsideCoder
@RoadsideCoder 9 ай бұрын
Excellent!
@jayanand8068
@jayanand8068 9 ай бұрын
I think for styling we can use tailwind css that would much easy to apply and it is getting adapted very fast, would recommend to use tailwind next time.
@streetfoodworld8569
@streetfoodworld8569 11 ай бұрын
Great learning with you bhaiya! yes we do want a video on redux also
@zackscreativeinsights
@zackscreativeinsights Жыл бұрын
Yes we want video for dark and light mode using redux,redux toolkit but also with backend we can store app configurations light and dark mode also in backend if we load the browser dark and light mode will remains same local storage user can easily remove use backend api only .
@Aviralsingh-yw7xx
@Aviralsingh-yw7xx Жыл бұрын
Thanks a lot sir. I have shared your playlist with all my friends.
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thanks a lot brother 💖
@abhishekchaurasia_
@abhishekchaurasia_ Жыл бұрын
Excellent stuff awesome
@zeeshan4341
@zeeshan4341 Жыл бұрын
Excellent stuff. Learned a lot. Love from Pakistan ❤ keep it up bro 😊
@sharmilak5109
@sharmilak5109 Жыл бұрын
nice video helps to learn Lot!! thank you
@RavindraSingh-lp9pl
@RavindraSingh-lp9pl Жыл бұрын
Kudos to your efforts ❤❤ superb video
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Thanks ✌️
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
awesome!!
@The_Developer_
@The_Developer_ 9 ай бұрын
it was really great
@priyanshujha777
@priyanshujha777 Жыл бұрын
yes bhaiya, please make video on light and dark mode using redux toolkit or zustand
@manishkhandagale26b15
@manishkhandagale26b15 Жыл бұрын
Please tell me in detail of all process during interview?examples of machine coding test
@Khedhar108
@Khedhar108 Жыл бұрын
yes redux dark mode video with standardised way
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Okay!
@SantoshSharma-ge5pz
@SantoshSharma-ge5pz 9 күн бұрын
is it a good practise to give component name with small letters?
@RoadsideCoder
@RoadsideCoder 8 күн бұрын
yes, Depends on person to person, I follow this structure
@FaisalKhan-oy4zz
@FaisalKhan-oy4zz Жыл бұрын
no premiere today @6pm
@RoadsideCoder
@RoadsideCoder Жыл бұрын
I thought you all will be busy in new year
@furqan6644
@furqan6644 Жыл бұрын
How are you so good with hooks and everything. Please help me.
@MuhammadTalha-ez3hr
@MuhammadTalha-ez3hr Жыл бұрын
please video in how to make breadcrumbs navigation
@AzadKumar-zi5lm
@AzadKumar-zi5lm Жыл бұрын
Sir, I implemented light dark theme without context api My approach 1. I made a light class in css and added light theme color 2. then i made another class dark and added dark theme color 3. when someone click on button then i added those class on body tag is it okay or there is any problem let me know ! 😮😮😮😮😮
@RoadsideCoder
@RoadsideCoder Жыл бұрын
but what if a deeply nested component needs to know the current theme, then u will need to know by using the useContext hook
@AzadKumar-zi5lm
@AzadKumar-zi5lm Жыл бұрын
@@RoadsideCoder but i am using css variables value to design components styling. then i am changing value according to theme but variables name will be same
@AzadKumar-zi5lm
@AzadKumar-zi5lm Жыл бұрын
By the way thanks sir i try to implement it using context api right now ☺️☺️☺️ so bye i am gonna open my laptop... have a good night!
@tarundurbha5398
@tarundurbha5398 10 ай бұрын
please continue machine coding round interview questions
@RoadsideCoder
@RoadsideCoder 10 ай бұрын
I have uploaded it yesterday
@brave364
@brave364 11 ай бұрын
Bro didn't hesitate to just display photos while video call 💀💀💀, but great content bro...
@RoadsideCoder
@RoadsideCoder 11 ай бұрын
I had their concent don't worry
@brave364
@brave364 11 ай бұрын
@@RoadsideCoder BRO YOUR CONTENTS ARE WAY BETTER THEN FANG KZbinR... THANKS FOR THAT...
@bhupindersinghmalhotra
@bhupindersinghmalhotra 8 ай бұрын
it would be much appreciated if u make light and dark mode using redux and redux toolkit
@avijitkumarsharma9940
@avijitkumarsharma9940 Ай бұрын
Thanks
@regilearn2138
@regilearn2138 6 ай бұрын
yes please create it using redux toolkit as well
@nandjijayaswal3077
@nandjijayaswal3077 Жыл бұрын
SIr please make a video to implement dark with redux and redux toolkit
@Rahmankhattak-x5k
@Rahmankhattak-x5k 11 ай бұрын
i intersted in your front end domination course but it is very costly INN TO PKR
@RoadsideCoder
@RoadsideCoder 11 ай бұрын
bro its not mine 😂
@RavindraSingh-lp9pl
@RavindraSingh-lp9pl Жыл бұрын
please implement this using plain redux and also with redux toolkit
@krish8847
@krish8847 Жыл бұрын
Superb
@eleah2665
@eleah2665 Жыл бұрын
Please do this in remix. Should be very similar Thanks.
@AquibSayyed-wv2mj
@AquibSayyed-wv2mj Жыл бұрын
make using redux as well
@Manojkumar-bh8os
@Manojkumar-bh8os 10 ай бұрын
Redux toolkit...light and dark mood
@Manojkumar-bh8os
@Manojkumar-bh8os Ай бұрын
where bhai
@wisamkayani9634
@wisamkayani9634 Жыл бұрын
Nextjs making it easy with tailwind 😂
@rishiraj2548
@rishiraj2548 Жыл бұрын
❤💯🙂👍
@narendrapanchal7499
@narendrapanchal7499 Жыл бұрын
Bro I want to learn the same way you write css with variables and and all this way you implemented css please reffer me somehthing @RoadsideCoder
@RoadsideCoder
@RoadsideCoder Жыл бұрын
Will soon bring a tutorial!
Build a dark mode light mode in reactjs with context api
29:20
Hitesh Choudhary
Рет қаралды 34 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
10 JavaScript Interview Questions You HAVE TO KNOW
13:41
James Q Quick
Рет қаралды 78 М.
A Jr Dev For Life?? | Prime Reacts
21:33
ThePrimeTime
Рет қаралды 336 М.
Speed Up Your React Apps With Code Splitting
16:50
Web Dev Simplified
Рет қаралды 397 М.