React JS Interview Questions ( Dark mode Light mode ) - Frontend Machine Coding Interview Experience
➡️ 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 🤓 - / roadsidecoder
React Interview Question on implementing Dark mode and Light mode using Context API 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 ( 20% OFF for limited time ) -
topmate.io/roadsidecoder
👤 Join the RoadsideCoder Community Discord -
/ discord
🔗 React JS Interview Series -
• Frontend Machine Codin...
➡️ Source Code -
github.com/piyush-eon/fronten...
🔗 Complete Data Structures and Algorithms with JS Course - • Data Structures and Al...
🔗 JS Interview Series -
• Javascript Interview Q...
🔗 Cars24 Interview Experience -
• Frontend Interview Exp...
🔗 Unacademy Interview Experience -
• Frontend Interview Exp...
🔗 Tazorpay Interview Experience -
• Frontend Interview Exp...
🔗 MERN Stack Tutorial with Redux -
• MERN Stack Project Tut...
🔗 React Beginner's Project Tutorials -
• React JS Project Tutor...
#JavascriptInterview #ReactInterview #ReactJS
-------------------------------------------------------------------------
00:00 Intro
00:35 Setup New React App
00:45 Creating a Multi Page App
07:54 Implementing Light/Dark Mode
09:33 Setup Context API
10:39 Dark Theme Global State
14:43 Light and Dark Theme Styles
18:41 Theme Switcher
-------------------------------------------------------------------------
⭐ Support the channel -
/ @roadsidecoder
Special Thanks to our members -
Пікірлер: 55
🔴 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
5 ай бұрын
What all beginner javascript projects should we do before moving on to react?
@arshad402
5 ай бұрын
.
yes we want a video for this dark and light feature using the redux toolkit please share with us
@RoadsideCoder
5 ай бұрын
Alright!
@mdanas0007
4 ай бұрын
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.
Dude your content has helped me so much. Thank you!
You're implementation is really amazing
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.
Great learning with you bhaiya! yes we do want a video on redux also
Thank you so much. Although I used tsx for my context, this method works perfectly.
@RoadsideCoder
3 ай бұрын
Excellent!
Excellent stuff awesome
Thanks a lot sir. I have shared your playlist with all my friends.
@RoadsideCoder
5 ай бұрын
Thanks a lot brother 💖
nice video helps to learn Lot!! thank you
Excellent stuff. Learned a lot. Love from Pakistan ❤ keep it up bro 😊
Maza aa gaya guru!!!
awesome!!
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.
yes bhaiya, please make video on light and dark mode using redux toolkit or zustand
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 .
it was really great
Kudos to your efforts ❤❤ superb video
@RoadsideCoder
5 ай бұрын
Thanks ✌️
please video in how to make breadcrumbs navigation
Please tell me in detail of all process during interview?examples of machine coding test
please implement this using plain redux and also with redux toolkit
no premiere today @6pm
@RoadsideCoder
5 ай бұрын
I thought you all will be busy in new year
How are you so good with hooks and everything. Please help me.
SIr please make a video to implement dark with redux and redux toolkit
it would be much appreciated if u make light and dark mode using redux and redux toolkit
Bro didn't hesitate to just display photos while video call 💀💀💀, but great content bro...
@RoadsideCoder
5 ай бұрын
I had their concent don't worry
@brave364
5 ай бұрын
@@RoadsideCoder BRO YOUR CONTENTS ARE WAY BETTER THEN FANG KZreadR... THANKS FOR THAT...
yes redux dark mode video with standardised way
@RoadsideCoder
5 ай бұрын
Okay!
Please do this in remix. Should be very similar Thanks.
Redux toolkit...light and dark mood
please continue machine coding round interview questions
@RoadsideCoder
4 ай бұрын
I have uploaded it yesterday
❤💯🙂👍
make using redux as well
i intersted in your front end domination course but it is very costly INN TO PKR
@RoadsideCoder
4 ай бұрын
bro its not mine 😂
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
5 ай бұрын
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
5 ай бұрын
@@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
5 ай бұрын
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!
Nextjs making it easy with tailwind 😂
Superb
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
5 ай бұрын
Will soon bring a tutorial!